System.Xml.Xsl.IlGen.XmlILVisitor.CheckWithinContent C# (CSharp) Method

CheckWithinContent() private method

Return true if a runtime check needs to be made in order to transition into the WithinContent state.
private CheckWithinContent ( XmlILConstructInfo info ) : bool
info XmlILConstructInfo
return bool
        private bool CheckWithinContent(XmlILConstructInfo info) {
            switch (info.InitialStates) {
                case PossibleXmlStates.WithinSequence:
                case PossibleXmlStates.EnumAttrs:
                case PossibleXmlStates.WithinContent:
                    // Transition to WithinContent can be ensured at compile-time
                    return false;
            }

            return true;
        }
XmlILVisitor