Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetDefaultShowILOffsetSetting()

static bool System.LocalAppContextSwitches.GetDefaultShowILOffsetSetting ( )
inlinestaticprivate

Definition at line 84 of file LocalAppContextSwitches.cs.

85 {
86 if (s_showILOffset < 0)
87 {
88 return false;
89 }
90 if (s_showILOffset > 0)
91 {
92 return true;
93 }
94 bool booleanConfig = AppContextConfigHelper.GetBooleanConfig("Switch.System.Diagnostics.StackTrace.ShowILOffsets", defaultValue: false);
95 s_showILOffset = (booleanConfig ? 1 : (-1));
96 return booleanConfig;
97 }

References System.AppContextConfigHelper.GetBooleanConfig(), and System.LocalAppContextSwitches.s_showILOffset.