diff options
Diffstat (limited to 'src/mscorlib/src/System/AppContext/AppContextSwitches.cs')
-rw-r--r-- | src/mscorlib/src/System/AppContext/AppContextSwitches.cs | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/mscorlib/src/System/AppContext/AppContextSwitches.cs b/src/mscorlib/src/System/AppContext/AppContextSwitches.cs index 3a96ec2159..5fdd2bc1e6 100644 --- a/src/mscorlib/src/System/AppContext/AppContextSwitches.cs +++ b/src/mscorlib/src/System/AppContext/AppContextSwitches.cs @@ -39,36 +39,6 @@ namespace System } } -#if FEATURE_PATHCOMPAT - private static int _useLegacyPathHandling; - - /// <summary> - /// Use legacy path normalization logic and blocking of extended syntax. - /// </summary> - public static bool UseLegacyPathHandling - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return GetCachedSwitchValue(AppContextDefaultValues.SwitchUseLegacyPathHandling, ref _useLegacyPathHandling); - } - } - - private static int _blockLongPaths; - - /// <summary> - /// Throw PathTooLongException for paths greater than MAX_PATH or directories greater than 248 (as per CreateDirectory Win32 limitations) - /// </summary> - public static bool BlockLongPaths - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return GetCachedSwitchValue(AppContextDefaultValues.SwitchBlockLongPaths, ref _blockLongPaths); - } - } -#endif // FEATURE_PATHCOMPAT - // // Implementation details // |