public static void ReadAsyncAfterInitializationWithStreamDoesNotThrow() { using (XmlReader reader = XmlReader.Create(GetDummyXmlStream(), new XmlReaderSettings() { Async = true })) { reader.ReadAsync().Wait(); } }