1 write to constraint
System.Private.Xml (1)
System\Xml\Schema\ConstraintStruct.cs (1)
32
this.
constraint
= constraint;
20 references to constraint
System.Private.Xml (20)
System\Xml\Schema\ConstraintStruct.cs (2)
36
if (this.
constraint
.Role != CompiledIdentityConstraint.ConstraintRole.Keyref)
131
kss.fields[i] = new LocatedActiveAxis(_cs.
constraint
.Fields[i], ks, i);
System\Xml\Schema\XmlSchemaValidator.cs (9)
2171
if (_context.Constr[i].
constraint
.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
2186
if (constraintStructures[j].
constraint
.name == _context.Constr[i].
constraint
.refer)
2385
switch (constraints[i].
constraint
.Role)
2392
SendValidationEvent(new XmlSchemaValidationException(SR.Sch_MissingKey, constraints[i].
constraint
.name.ToString(), _sourceUriString, ks.PosLine, ks.PosCol));
2401
new string[2] { ks.ToString(), constraints[i].
constraint
.name.ToString() },
2420
new string[2] { ks.ToString(), constraints[i].
constraint
.name.ToString() },
2455
if ((vcs[i].
constraint
.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
2464
SendValidationEvent(new XmlSchemaValidationException(SR.Sch_UnresolvedKeyref, new string[2] { ks!.ToString(), vcs[i].
constraint
.name.ToString() },
System\Xml\Schema\XsdValidator.cs (9)
861
if (context.Constr[i].
constraint
.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
876
if (constraints[j].
constraint
.name == context.Constr[i].
constraint
.refer)
1069
switch (constraints[i].
constraint
.Role)
1076
SendValidationEvent(new XmlSchemaException(SR.Sch_MissingKey, constraints[i].
constraint
.name.ToString(), reader.BaseURI, ks.PosLine, ks.PosCol));
1084
new string[2] { ks.ToString(), constraints[i].
constraint
.name.ToString() },
1101
new string[2] { ks.ToString(), constraints[i].
constraint
.name.ToString() },
1134
if ((vcs[i].
constraint
.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
1143
SendValidationEvent(new XmlSchemaException(SR.Sch_UnresolvedKeyref, new string[2] { ks!.ToString(), vcs[i].
constraint
.name.ToString() },