static XmlWriterTests_InvalidSurrogate() { // Make sure that we don't cache the value of the switch to enable testing AppContext.SetSwitch("TestSwitch.LocalAppContext.DisableCaching", true); }