System.Xml.Xsl.XsltOld.NumberAction.BasicNodeType C# (CSharp) Method

BasicNodeType() private method

private BasicNodeType ( XPathNodeType type ) : XPathNodeType
type XPathNodeType
return XPathNodeType
        private XPathNodeType BasicNodeType(XPathNodeType type) {
            if(type == XPathNodeType.SignificantWhitespace || type == XPathNodeType.Whitespace) {
                return XPathNodeType.Text;
            }
            else {
                return type;
            }
        }