System.Xml.Tests.AsyncReaderLateInitTests.ReadAsyncAfterInitializationWithTextReaderDoesNotThrow C# (CSharp) Method

ReadAsyncAfterInitializationWithTextReaderDoesNotThrow() private method

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