System.Xml.XmlTextReaderImpl.GetWhitespaceType C# (CSharp) Method

GetWhitespaceType() private method

private GetWhitespaceType ( ) : System.Xml.XmlNodeType
return System.Xml.XmlNodeType
        private XmlNodeType GetWhitespaceType()
        {
            if (_whitespaceHandling != WhitespaceHandling.None)
            {
                if (_xmlContext.xmlSpace == XmlSpace.Preserve)
                {
                    return XmlNodeType.SignificantWhitespace;
                }
                if (_whitespaceHandling == WhitespaceHandling.All)
                {
                    return XmlNodeType.Whitespace;
                }
            }
            return XmlNodeType.None;
        }
XmlTextReaderImpl