13 references to LocalAppContext
System.Xml (13)
parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (3)
116
if (
LocalAppContext
.DisableCaching)
118
return
LocalAppContext
.IsSwitchEnabled(switchName);
121
bool isEnabled =
LocalAppContext
.IsSwitchEnabled(switchName);
System\Xml\Core\AppContextDefaultValues.Defaults.cs (6)
28
LocalAppContext
.DefineSwitchDefault("Switch.System.Xml.DontThrowOnInvalidSurrogatePairs", true);
29
LocalAppContext
.DefineSwitchDefault("Switch.System.Xml.IgnoreEmptyKeySequences", true);
33
LocalAppContext
.DefineSwitchDefault("Switch.System.Xml.IgnoreKindInUtcTimeSerialization", true);
42
LocalAppContext
.DefineSwitchDefault("Switch.System.Xml.DontThrowOnInvalidSurrogatePairs", true);
43
LocalAppContext
.DefineSwitchDefault("Switch.System.Xml.IgnoreEmptyKeySequences", true);
44
LocalAppContext
.DefineSwitchDefault("Switch.System.Xml.IgnoreKindInUtcTimeSerialization", true);
System\Xml\Core\LocalAppContextSwitches.cs (4)
19
return
LocalAppContext
.GetCachedSwitchValue(@"Switch.System.Xml.DontThrowOnInvalidSurrogatePairs", ref _dontThrowOnInvalidSurrogatePairs);
29
return
LocalAppContext
.GetCachedSwitchValue(@"Switch.System.Xml.IgnoreEmptyKeySequences", ref _ignoreEmptyKeySequences);
39
return
LocalAppContext
.GetCachedSwitchValue(@"Switch.System.Xml.IgnoreKindInUtcTimeSerialization", ref _ignoreKindInUtcTimeSerialization);
50
return
LocalAppContext
.GetCachedSwitchValue(@"Switch.System.Xml.EnableTimeSpanSerialization", ref _enableTimeSpanSerialization);