62 references to XmlSchemaValidity
System.Data.Entity (9)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (2)
611
else if (reader.SchemaInfo == null || reader.SchemaInfo.Validity != System.Xml.Schema.
XmlSchemaValidity
.Invalid)
802
reader.SchemaInfo.Validity != System.Xml.Schema.
XmlSchemaValidity
.Valid, "The xsd should see this as not acceptable");
System\Data\EntityModel\SchemaObjectModel\Utils.cs (7)
103
if (reader.SchemaInfo.Validity == System.Xml.Schema.
XmlSchemaValidity
.Invalid)
143
Debug.Assert(reader.SchemaInfo.Validity != System.Xml.Schema.
XmlSchemaValidity
.Invalid, "This method should not be called when the schema is invalid");
173
if (reader.SchemaInfo.Validity == System.Xml.Schema.
XmlSchemaValidity
.Invalid)
234
if ( reader.SchemaInfo.Validity == System.Xml.Schema.
XmlSchemaValidity
.Invalid )
249
Debug.Assert(reader.SchemaInfo.Validity == Xml.Schema.
XmlSchemaValidity
.NotKnown, "The schema validity must be NotKnown at this point");
263
if (reader.SchemaInfo.Validity == System.Xml.Schema.
XmlSchemaValidity
.Invalid)
286
if (reader.SchemaInfo.Validity == System.Xml.Schema.
XmlSchemaValidity
.Invalid)
System.Xml (51)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
878
XmlSchemaValidity
IXmlSchemaInfo.Validity {
System\Xml\Core\XsdValidatingReader.cs (6)
1379
XmlSchemaValidity
IXmlSchemaInfo.Validity {
1386
if (xmlSchemaInfo.Validity ==
XmlSchemaValidity
.Valid) { //It might be valid for unions since we read ahead, but report notknown for consistency
1387
return
XmlSchemaValidity
.NotKnown;
1400
return
XmlSchemaValidity
.NotKnown;
1701
attributeInvalid = attributePSVI.attributeSchemaInfo.Validity ==
XmlSchemaValidity
.Invalid;
1709
xmlSchemaInfo.Validity =
XmlSchemaValidity
.Invalid;
System\Xml\Dom\DocumentSchemaValidator.cs (1)
413
attributeSchemaInfo.Validity =
XmlSchemaValidity
.Valid;
System\Xml\Dom\XmlDocument.cs (5)
80
static internal IXmlSchemaInfo NotKnownSchemaInfo = new XmlSchemaInfo(
XmlSchemaValidity
.NotKnown);
81
static internal IXmlSchemaInfo ValidSchemaInfo = new XmlSchemaInfo(
XmlSchemaValidity
.Valid);
82
static internal IXmlSchemaInfo InvalidSchemaInfo = new XmlSchemaInfo(
XmlSchemaValidity
.Invalid);
1462
case
XmlSchemaValidity
.Valid:
1464
case
XmlSchemaValidity
.Invalid:
System\Xml\Dom\XmlName.cs (7)
97
public virtual
XmlSchemaValidity
Validity {
99
return
XmlSchemaValidity
.NotKnown;
184
public override
XmlSchemaValidity
Validity {
186
return ownerDoc.CanReportValidity ? (
XmlSchemaValidity
)(flags & ValidityMask) :
XmlSchemaValidity
.NotKnown;
226
public void SetValidity(
XmlSchemaValidity
value) {
242
&& schemaInfo.Validity == (
XmlSchemaValidity
)(flags & ValidityMask)
System\Xml\Schema\IXmlSchemaInfo.cs (1)
17
XmlSchemaValidity
Validity { get; }
System\Xml\Schema\ValidationState.cs (1)
31
public
XmlSchemaValidity
Validity;
System\Xml\Schema\XmlSchemaInfo.cs (4)
21
XmlSchemaValidity
validity;
28
internal XmlSchemaInfo(
XmlSchemaValidity
validity) : this() {
32
public
XmlSchemaValidity
Validity {
147
validity =
XmlSchemaValidity
.NotKnown;
System\Xml\Schema\XmlSchemaValidator.cs (14)
392
context.Validity =
XmlSchemaValidity
.Invalid;
471
XmlSchemaValidity
localValidity =
XmlSchemaValidity
.NotKnown;
621
localValidity =
XmlSchemaValidity
.Invalid;
624
localValidity =
XmlSchemaValidity
.Valid;
817
Debug.Assert(context.Validity !=
XmlSchemaValidity
.Valid);
931
attSchemaInfo.Validity =
XmlSchemaValidity
.Valid;
1057
context.Validity =
XmlSchemaValidity
.Invalid;
1075
if (context.Validity ==
XmlSchemaValidity
.NotKnown && StrictlyAssessed) {
1076
context.Validity =
XmlSchemaValidity
.Valid;
1303
context.Validity =
XmlSchemaValidity
.NotKnown;
1319
if (previousContext.Validity ==
XmlSchemaValidity
.Invalid) { //Should set current context's validity to that of what was popped now in case of Invalid
1320
context.Validity =
XmlSchemaValidity
.Invalid;
2371
context.Validity =
XmlSchemaValidity
.Invalid;
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\XPath\XPathNavigatorReader.cs (2)
982
public virtual
XmlSchemaValidity
Validity { get { return IsReading ? this.schemaInfo.Validity :
XmlSchemaValidity
.NotKnown; } }
System.Xml.Linq (2)
System\Xml\Linq\XNodeValidator.cs (2)
100
si.Validity =
XmlSchemaValidity
.Valid;
260
if (si.Validity ==
XmlSchemaValidity
.Valid && si.IsDefault) {