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