diff options
Diffstat (limited to 'src/mscorlib/src/System/CompatibilitySwitches.cs')
-rw-r--r-- | src/mscorlib/src/System/CompatibilitySwitches.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/mscorlib/src/System/CompatibilitySwitches.cs b/src/mscorlib/src/System/CompatibilitySwitches.cs index bb2f02a679..58dd640f88 100644 --- a/src/mscorlib/src/System/CompatibilitySwitches.cs +++ b/src/mscorlib/src/System/CompatibilitySwitches.cs @@ -10,7 +10,6 @@ namespace System internal static class CompatibilitySwitches { private static bool s_AreSwitchesSet; - private static bool s_useLatestBehaviorWhenTFMNotSpecified; // Which behavior to use when the TFM is not specified. public static bool IsCompatibilityBehaviorDefined { @@ -20,39 +19,9 @@ namespace System } } - private static bool IsCompatibilitySwitchSet(string compatibilitySwitch) - { - bool? result = AppDomain.CurrentDomain.IsCompatibilitySwitchSet(compatibilitySwitch); - return (result.HasValue && result.Value); - } - internal static void InitializeSwitches() { s_AreSwitchesSet = true; } - - public static bool IsNetFx40TimeSpanLegacyFormatMode - { - get - { - return false; - } - } - - public static bool IsNetFx40LegacySecurityPolicy - { - get - { - return false; - } - } - - public static bool IsNetFx45LegacyManagedDeflateStream - { - get - { - return false; - } - } } } |