25 references to LocalAppContextSwitches
System (25)
compmod\system\codedom\compiler\TempFiles.cs (1)
325if (!LocalAppContextSwitches.DisableTempFileCollectionDirectoryFeature && currentIdentity != null &&
compmod\system\componentmodel\MemberDescriptor.cs (1)
331if (!LocalAppContextSwitches.MemberDescriptorEqualsReturnsFalseIfEquivalent) {
net\System\_UriSyntax.cs (2)
129return LocalAppContextSwitches.DontEnableStrictRFC3986ReservedCharacterSets; 137return LocalAppContextSwitches.DontKeepUnicodeBidiFormattingCharacters;
net\System\Net\_SecureChannel.cs (1)
1315if (LocalAppContextSwitches.DontEnableTlsAlerts)
net\System\Net\SecureProtocols\_SslState.cs (1)
463if (shutdownCheck && _Shutdown && !LocalAppContextSwitches.DontEnableTlsAlerts) {
net\System\Net\SecureProtocols\SslStream.cs (1)
131AuthenticateAsClient(targetHost, clientCertificates, ServicePointManager.DefaultSslProtocols, LocalAppContextSwitches.DontCheckCertificateRevocation ? false : checkCertificateRevocation);
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
876m_AllocateOverlappedOnDemand = LocalAppContextSwitches.AllocateOverlappedOnDemand;
regex\system\text\regularexpressions\RegexCompiler.cs (1)
131private static readonly bool UseLegacyTimeoutCheck = LocalAppContextSwitches.UseLegacyTimeoutCheck;
regex\system\text\regularexpressions\RegexInterpreter.cs (1)
33private static readonly bool UseLegacyTimeoutCheck = LocalAppContextSwitches.UseLegacyTimeoutCheck;
security\system\security\cryptography\x509\x509utils.cs (1)
57if (LocalAppContextSwitches.DoNotValidateX509KeyStorageFlags)
services\monitoring\system\diagnosticts\EventLog.cs (1)
69private static readonly bool s_dontFilterRegKeys = !IsWindowsRS5OrUp() || LocalAppContextSwitches.DisableEventLogRegistryKeysFiltering;
sys\AppContextDefaultValues.Defaults.cs (11)
28LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableSchUseStrongCryptoName, true); 33LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.MemberDescriptorEqualsReturnsFalseIfEquivalentName, true); 38LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableSystemDefaultTlsVersionsName, true); 39LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableTlsAlertsName, true); 44LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DoNotCatchSerialStreamThreadExceptionsName, true); 49LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableStrictRFC3986ReservedCharacterSetsName, true); 50LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontKeepUnicodeBidiFormattingCharactersName, true); 51LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DoNotUseNativeZipLibraryForDecompressionName, true); 61LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableSchUseStrongCryptoName, true); 62LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableSystemDefaultTlsVersionsName, true); 63LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableTlsAlertsName, true);
sys\System\IO\compression\DeflateStream.cs (1)
231if (!LocalAppContextSwitches.DoNotUseNativeZipLibraryForDecompression)
sys\system\io\ports\SerialStream.cs (1)
768Thread eventLoopThread = LocalAppContextSwitches.DoNotCatchSerialStreamThreadExceptions