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