20 references to Valid
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
802
reader.SchemaInfo.Validity != System.Xml.Schema.XmlSchemaValidity.
Valid
, "The xsd should see this as not acceptable");
System.Xml (17)
System\Xml\Core\XsdValidatingReader.cs (1)
1386
if (xmlSchemaInfo.Validity == XmlSchemaValidity.
Valid
) { //It might be valid for unions since we read ahead, but report notknown for consistency
System\Xml\Dom\DocumentSchemaValidator.cs (1)
413
attributeSchemaInfo.Validity = XmlSchemaValidity.
Valid
;
System\Xml\Dom\XmlDocument.cs (2)
81
static internal IXmlSchemaInfo ValidSchemaInfo = new XmlSchemaInfo(XmlSchemaValidity.
Valid
);
1462
case XmlSchemaValidity.
Valid
:
System\Xml\Schema\XmlSchemaValidator.cs (4)
624
localValidity = XmlSchemaValidity.
Valid
;
817
Debug.Assert(context.Validity != XmlSchemaValidity.
Valid
);
931
attSchemaInfo.Validity = XmlSchemaValidity.
Valid
;
1076
context.Validity = XmlSchemaValidity.
Valid
;
System\Xml\XPath\XPathNavigator.cs (9)
53
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
75
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
136
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
168
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
197
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
226
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
255
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
284
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
315
if (schemaInfo.Validity == XmlSchemaValidity.
Valid
) {
System.Xml.Linq (2)
System\Xml\Linq\XNodeValidator.cs (2)
100
si.Validity = XmlSchemaValidity.
Valid
;
260
if (si.Validity == XmlSchemaValidity.
Valid
&& si.IsDefault) {