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

ReadAfterInitializationWithTextReaderOnAsyncReaderDoesNotThrow() private method

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