18 references to LocalAppContext
System.ServiceModel (18)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (3)
116if (LocalAppContext.DisableCaching) 118return LocalAppContext.IsSwitchEnabled(switchName); 121bool isEnabled = LocalAppContext.IsSwitchEnabled(switchName);
System\ServiceModel\AppContextDefaultValues.Default.cs (5)
38LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DisableUsingServicePointManagerSecurityProtocolsString, true); 44LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.UseSha1InPipeConnectionGetHashAlgorithmString, true); 45LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DisableAddressHeaderCollectionValidationString, true); 46LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.UseSha1InMsmqEncryptionAlgorithmString, true); 47LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableSystemDefaultTlsVersionsString, true);
System\ServiceModel\LocalAppContextSwitches.cs (10)
38return LocalAppContext.GetCachedSwitchValue(DontEnableSystemDefaultTlsVersionsString, ref dontEnableSystemDefaultTlsVersions); 47return LocalAppContext.GetCachedSwitchValue(UseSha1InMsmqEncryptionAlgorithmString, ref useSha1InMsmqEncryptionAlgorithm); 56return LocalAppContext.GetCachedSwitchValue(DisableAddressHeaderCollectionValidationString, ref disableAddressHeaderCollectionValidation); 65return LocalAppContext.GetCachedSwitchValue(UseSha1InPipeConnectionGetHashAlgorithmString, ref useSha1InPipeConnectionGetHashAlgorithm); 74return LocalAppContext.GetCachedSwitchValue(DisableExplicitConnectionCloseHeaderString, ref disableExplicitConnectionCloseHeader); 83return LocalAppContext.GetCachedSwitchValue(AllowUnsignedToHeaderString, ref allowUnsignedToHeader); 92return LocalAppContext.GetCachedSwitchValue(DisableCngCertificatesString, ref disableCngCertificates); 101return LocalAppContext.GetCachedSwitchValue(DisableUsingServicePointManagerSecurityProtocolsString, ref disableUsingServicePointManagerSecurityProtocols); 109LocalAppContext.DefineSwitchDefault(DisableExplicitConnectionCloseHeaderString, true); 117LocalAppContext.DefineSwitchDefault(DisableCngCertificatesString, true);