diff --git a/src/libraries/System.Private.CoreLib/src/System/LocalAppContextSwitches.cs b/src/libraries/System.Private.CoreLib/src/System/LocalAppContextSwitches.cs index ed450d74943690..37e2265f5f8f93 100644 --- a/src/libraries/System.Private.CoreLib/src/System/LocalAppContextSwitches.cs +++ b/src/libraries/System.Private.CoreLib/src/System/LocalAppContextSwitches.cs @@ -54,7 +54,8 @@ private static bool GetDefaultShowILOffsetSetting() if (s_showILOffset < 0) return false; if (s_showILOffset > 0) return true; - bool isSwitchEnabled = AppContextConfigHelper.GetBooleanConfig("Switch.System.Diagnostics.StackTrace.ShowILOffsets", true); + // Disabled by default. + bool isSwitchEnabled = AppContextConfigHelper.GetBooleanConfig("Switch.System.Diagnostics.StackTrace.ShowILOffsets", false); s_showILOffset = isSwitchEnabled ? 1 : -1; return isSwitchEnabled;