source/SchemaValidation/source/SchemaValidation/Extensions/SchemaValidatingReaderExtensions.cs
/// <summary>
/// Do not use this method, it is provided for compatibility.
/// Provides access to the underlying asynchronous XmlReader.
/// Schema validation errors are still stored in the SchemaValidatingReader,
/// but do note that malformed XML errors are not and will be thrown as XmlException from the returned XmlReader.
/// Do not use anything from SchemaValidatingReader, except error-related functionality.
/// </summary>
/// <param name="reader">The reader to use.</param>
/// <returns>The internal XmlReader.</returns>
Do not use this method, it is provided for compatibility.
Provides access to the underlying asynchronous XmlReader.
Schema validation errors are still stored in the SchemaValidatingReader,
but do note that malformed XML errors are not and will be thrown as XmlException from the returned XmlReader.
Do not use anything from SchemaValidatingReader, except error-related functionality.
Do not use this method it is provided for compatibility . Provides access to the underlying asynchronous XmlReader . Schema validation errors are still stored in the SchemaValidatingReader but do note that malformed XML errors are not and will be thrown as XmlException from the returned XmlReader . Do not use anything from SchemaValidatingReader except error - related functionality .
public static Task<XmlReader> AsXmlReaderAsync(this SchemaValidatingReader reader)
        {
            var innerReader = reader.GetXmlValidatingReader();
            return innerReader.GetInternalReaderAsync();
        }
public static Task < XmlReader > AsXmlReaderAsync ( this SchemaValidatingReader reader ) { var innerReader = reader . GetXmlValidatingReader ( ) ; return innerReader . GetInternalReaderAsync ( ) ; }
Do not use this method, it is provided for compatibility.
Do not use this method it is provided for compatibility .
The internal XmlReader.
The internal XmlReader .
SchemaValidatingReader
this
reader
The reader to use.
The reader to use .