8 references to LocalAppContext
System.Drawing (8)
commonui\System\Drawing\AppContextDefaultValues.Defaults.cs (2)
28
LocalAppContext
.DefineSwitchDefault("Switch.System.Drawing.DontSupportPngFramesInIcons", true);
32
LocalAppContext
.DefineSwitchDefault("Switch.System.Drawing.Text.DoNotRemoveGdiFontsResourcesFromFontCollection", true);
commonui\System\Drawing\LocalAppContextSwitches.cs (3)
21
return
LocalAppContext
.GetCachedSwitchValue(@"Switch.System.Drawing.DontSupportPngFramesInIcons", ref LocalAppContextSwitches.dontSupportPngFramesInIcons);
28
return
LocalAppContext
.GetCachedSwitchValue(@"Switch.System.Drawing.Printing.OptimizePrintPreview", ref LocalAppContextSwitches.optimizePrintPreview);
35
return
LocalAppContext
.GetCachedSwitchValue(@"Switch.System.Drawing.Text.DoNotRemoveGdiFontsResourcesFromFontCollection", ref LocalAppContextSwitches.doNotRemoveGdiFontsResourcesFromFontCollection);
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (3)
116
if (
LocalAppContext
.DisableCaching)
118
return
LocalAppContext
.IsSwitchEnabled(switchName);
121
bool isEnabled =
LocalAppContext
.IsSwitchEnabled(switchName);