1 write to constraint
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (1)
30
this.
constraint
= constraint;
20 references to constraint
dotnet-svcutil-lib (20)
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (2)
34
if (this.
constraint
.Role != CompiledIdentityConstraint.ConstraintRole.Keyref)
134
kss.fields[i] = new LocatedActiveAxis(_cs.
constraint
.Fields[i], ks, i);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (9)
2199
if (_context.Constr[i].
constraint
.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
2214
if (constraintStructures[j].
constraint
.name == _context.Constr[i].
constraint
.refer)
2403
switch (constraints[i].
constraint
.Role)
2410
SendValidationEvent(new XmlSchemaValidationException(ResXml.Sch_MissingKey, constraints[i].
constraint
.name.ToString(), _sourceUriString, ks.PosLine, ks.PosCol));
2419
new string[2] { ks.ToString(), constraints[i].
constraint
.name.ToString() },
2435
new string[2] { ks.ToString(), constraints[i].
constraint
.name.ToString() },
2470
if ((vcs[i].
constraint
.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
2479
SendValidationEvent(new XmlSchemaValidationException(ResXml.Sch_UnresolvedKeyref, new string[2] { ks.ToString(), vcs[i].
constraint
.name.ToString() },
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (9)
879
if (context.Constr[i].
constraint
.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
894
if (constraints[j].
constraint
.name == context.Constr[i].
constraint
.refer)
1086
switch (constraints[i].
constraint
.Role)
1093
SendValidationEvent(new XmlSchemaException(ResXml.Sch_MissingKey, constraints[i].
constraint
.name.ToString(), reader.BaseURI, ks.PosLine, ks.PosCol));
1101
new string[2] { ks.ToString(), constraints[i].
constraint
.name.ToString() },
1118
new string[2] { ks.ToString(), constraints[i].
constraint
.name.ToString() },
1151
if ((vcs[i].
constraint
.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
1160
SendValidationEvent(new XmlSchemaException(ResXml.Sch_UnresolvedKeyref, new string[2] { ks.ToString(), vcs[i].
constraint
.name.ToString() },