15 references to Flags
System.Private.Xml (15)
System\Xml\ValidateNames.cs (6)
429internal static void ValidateNameThrow(string? prefix, string localName, string? ns, XPathNodeType nodeKind, Flags flags) 440internal static bool ValidateName(string? prefix, string localName, string? ns, XPathNodeType nodeKind, Flags flags) 451private static bool ValidateNameInternal(string? prefix, string localName, string? ns, XPathNodeType nodeKind, Flags flags, bool throwOnError) 455if ((flags & Flags.NCNames) != 0) 471if ((flags & Flags.CheckLocalName) != 0) 514if ((flags & Flags.CheckPrefixMapping) != 0)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
1075if (!ValidateNames.ValidateName(prefix, string.Empty, ns, nodeType, ValidateNames.Flags.CheckPrefixMapping))
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (2)
4124Debug.Assert(ValidateNames.ValidateName(prefix, localName, ns, nodeType, ValidateNames.Flags.AllExceptPrefixMapping)); 4135if (!ValidateNames.ValidateName(prefix, localName, ns, nodeType, ValidateNames.Flags.CheckPrefixMapping))
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (5)
163Debug.Assert(ValidateNames.ValidateName(prefix, localName, ns, XPathNodeType.Element, ValidateNames.Flags.All), "Name validation failed"); 231Debug.Assert(ValidateNames.ValidateName(prefix, localName, ns, XPathNodeType.Attribute, ValidateNames.Flags.All)); 830ValidateNames.ValidateNameThrow("", target, "", XPathNodeType.ProcessingInstruction, ValidateNames.Flags.AllExceptPrefixMapping); 1524if (!ValidateNames.ValidateName(prefix, localName, ns, nodeType, ValidateNames.Flags.AllExceptNCNames)) 1530ValidateNames.ValidateNameThrow(prefix, localName, ns, nodeType, ValidateNames.Flags.AllExceptNCNames);
System\Xml\Xsl\Xslt\Compiler.cs (1)
240XPathNodeType.ProcessingInstruction, ValidateNames.Flags.AllExceptPrefixMapping