56 references to XmlSchemaValidity
netstandard (1)
netstandard.cs (1)
2374[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaValidity))]
System.Private.Xml (51)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
1019XmlSchemaValidity IXmlSchemaInfo.Validity
System\Xml\Core\XsdValidatingReader.cs (6)
1761XmlSchemaValidity IXmlSchemaInfo.Validity 1773if (_xmlSchemaInfo.Validity == XmlSchemaValidity.Valid) 1776return XmlSchemaValidity.NotKnown; 1793return XmlSchemaValidity.NotKnown; 2179attributeInvalid = attributePSVI.attributeSchemaInfo.Validity == XmlSchemaValidity.Invalid; 2190_xmlSchemaInfo.Validity = XmlSchemaValidity.Invalid;
System\Xml\Dom\DocumentSchemaValidator.cs (1)
450_attributeSchemaInfo.Validity = XmlSchemaValidity.Valid;
System\Xml\Dom\XmlDocument.cs (5)
129internal static readonly IXmlSchemaInfo NotKnownSchemaInfo = new XmlSchemaInfo(XmlSchemaValidity.NotKnown); 130internal static readonly IXmlSchemaInfo ValidSchemaInfo = new XmlSchemaInfo(XmlSchemaValidity.Valid); 131internal static readonly IXmlSchemaInfo InvalidSchemaInfo = new XmlSchemaInfo(XmlSchemaValidity.Invalid); 1749case XmlSchemaValidity.Valid: 1751case XmlSchemaValidity.Invalid:
System\Xml\Dom\XmlName.cs (7)
115public virtual XmlSchemaValidity Validity 119return XmlSchemaValidity.NotKnown; 214public override XmlSchemaValidity Validity 218return ownerDoc.CanReportValidity ? (XmlSchemaValidity)(_flags & ValidityMask) : XmlSchemaValidity.NotKnown; 270public void SetValidity(XmlSchemaValidity value) 290&& schemaInfo.Validity == (XmlSchemaValidity)(_flags & ValidityMask)
System\Xml\Schema\IXmlSchemaInfo.cs (1)
11XmlSchemaValidity Validity { get; }
System\Xml\Schema\ValidationState.cs (1)
32public XmlSchemaValidity Validity;
System\Xml\Schema\XmlSchemaInfo.cs (4)
17private XmlSchemaValidity _validity; 25internal XmlSchemaInfo(XmlSchemaValidity validity) : this() 30public XmlSchemaValidity Validity 182_validity = XmlSchemaValidity.NotKnown;
System\Xml\Schema\XmlSchemaValidator.cs (14)
417_context.Validity = XmlSchemaValidity.Invalid; 503XmlSchemaValidity localValidity = XmlSchemaValidity.NotKnown; 677localValidity = XmlSchemaValidity.Invalid; 681localValidity = XmlSchemaValidity.Valid; 910Debug.Assert(_context.Validity != XmlSchemaValidity.Valid); 1073attSchemaInfo.Validity = XmlSchemaValidity.Valid; 1232_context.Validity = XmlSchemaValidity.Invalid; 1253if (_context.Validity == XmlSchemaValidity.NotKnown && StrictlyAssessed) 1255_context.Validity = XmlSchemaValidity.Valid; 1537_context.Validity = XmlSchemaValidity.NotKnown; 1557if (previousContext.Validity == XmlSchemaValidity.Invalid) 1559_context.Validity = XmlSchemaValidity.Invalid; 2859_context.Validity = XmlSchemaValidity.Invalid;
System\Xml\XPath\XPathNavigator.cs (9)
51if (schemaInfo.Validity == XmlSchemaValidity.Valid) 79if (schemaInfo.Validity == XmlSchemaValidity.Valid) 145if (schemaInfo.Validity == XmlSchemaValidity.Valid) 183if (schemaInfo.Validity == XmlSchemaValidity.Valid) 217if (schemaInfo.Validity == XmlSchemaValidity.Valid) 251if (schemaInfo.Validity == XmlSchemaValidity.Valid) 285if (schemaInfo.Validity == XmlSchemaValidity.Valid) 319if (schemaInfo.Validity == XmlSchemaValidity.Valid) 352if (schemaInfo.Validity == XmlSchemaValidity.Valid)
System\Xml\XPath\XPathNavigatorReader.cs (2)
1130public XmlSchemaValidity Validity { get { return IsReading ? this.schemaInfo!.Validity : XmlSchemaValidity.NotKnown; } }
System.Private.Xml.Linq (2)
System\Xml\Schema\XNodeValidator.cs (2)
122si.Validity = XmlSchemaValidity.Valid; 311if (si!.Validity == XmlSchemaValidity.Valid && si.IsDefault)
System.Xml (1)
System.Xml.cs (1)
99[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaValidity))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
98[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaValidity))]