System.Xml.Xsl.Xslt.XPathPatternBuilder.AssertFilter C# (CSharp) Method

AssertFilter() private method

private AssertFilter ( QilLoop filter ) : void
filter System.Xml.Xsl.Qil.QilLoop
return void
        public void AssertFilter(QilLoop filter) {
            Debug.Assert(filter.NodeType == QilNodeType.Filter, "XPathPatternBuilder expected to generate list of Filters on top level");
            Debug.Assert(filter.Variable.XmlType.IsSubtypeOf(T.NodeNotRtf));
            Debug.Assert(filter.Variable.Binding.NodeType == QilNodeType.Unknown);  // fixupNode
            Debug.Assert(filter.Body.XmlType.IsSubtypeOf(T.Boolean));
        }