106 references to SendValidationEvent
dotnet-svcutil-lib (106)
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (1)
162SendValidationEvent(code, qname.ToString(), item);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (33)
595SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "schemaLocation", include); 625SendValidationEvent(ResXml.Sch_InvalidNamespaceAttribute, importNS, include); 1189SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", attribute); 1193SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "use", attribute); 1197SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "form", attribute); 1216SendValidationEvent(ResXml.Sch_AttributeNameRef, "???", attribute); 1247SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "ref", attribute); 1285SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", attributeGroup); 1301SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", element); 1330SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "form", element); 1334SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "minOccurs", element); 1338SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "maxOccurs", element); 1391SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "abstract", element); 1395SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "final", element); 1399SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "substitutionGroup", element); 1409SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "ref", element); 1478SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", constraint); 1484SendValidationEvent(ResXml.Sch_DupIdentityConstraint, constraint.QualifiedName.ToString(), constraint); 1534SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "name", simpleType); 1546SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", simpleType); 1675SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "name", complexType); 1687SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", complexType); 1763SendValidationEvent(ResXml.Sch_MissAttribute, "base", contentExtension); 1777SendValidationEvent(ResXml.Sch_MissAttribute, "base", contentRestriction); 1822SendValidationEvent(ResXml.Sch_MissAttribute, "base", contentExtension); 1841SendValidationEvent(ResXml.Sch_MissAttribute, "base", contentRestriction); 1880SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", group); 1889SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "minOccurs", group.Particle); 1893SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "maxOccurs", group.Particle); 1910SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", notation); 2013SendValidationEvent(ResXml.Sch_MissAttribute, "ref", groupRef); 2051SendValidationEvent(ResXml.Sch_MissAttribute, "ref", attributeGroupRef); 2092SendValidationEvent(ResXml.Sch_InvalidIdAttribute, ResXml.Sch_NullValue, xso);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (14)
807SendValidationEvent(ResXml.Sch_UndeclaredType, simpleExtension.BaseTypeName.ToString(), complexType); 846SendValidationEvent(ResXml.Sch_UndefBaseRestriction, simpleRestriction.BaseTypeName.ToString(), simpleRestriction); 929SendValidationEvent(ResXml.Sch_UndefBaseExtension, complexExtension.BaseTypeName.ToString(), complexExtension); 995SendValidationEvent(ResXml.Sch_UndefBaseRestriction, complexRestriction.BaseTypeName.ToString(), complexRestriction); 1138SendValidationEvent(ResXml.Sch_UndefGroupRef, groupRef.RefName.ToString(), groupRef); 1154SendValidationEvent(ResXml.Sch_AllRefNotRoot, "", groupRef); 1744SendValidationEvent(ResXml.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 1770SendValidationEvent(ResXml.Sch_DupAttributeUse, attributeValue.QualifiedName.ToString(), attributeValue); 1777SendValidationEvent(ResXml.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 1806SendValidationEvent(ResXml.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 1832SendValidationEvent(ResXml.Sch_DupAttributeUse, attributeValue.QualifiedName.ToString(), attributeGroupRef); 1844SendValidationEvent(ResXml.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 2459SendValidationEvent(ResXml.Sch_DupElement, localElement.QualifiedName.ToString(), localElement); 2483SendValidationEvent(ResXml.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (XmlSchemaElement)e.Particle2);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (40)
315SendValidationEvent(ResXml.Sch_InvalidNamespace, schema.TargetNamespace, schema); 328SendValidationEvent(ResXml.Sch_AttributeValueDataType, "version", schema); 379SendValidationEvent(ResXml.Sch_InvalidSchemaLocation, loc, include); 384SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "schemaLocation", include); 416SendValidationEvent(ResXml.Sch_InvalidNamespaceAttribute, ns, include); 426SendValidationEvent(ResXml.Sch_InvalidNamespace, ns, include); 838SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", attribute); 842SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "use", attribute); 846SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "form", attribute); 865SendValidationEvent(ResXml.Sch_AttributeNameRef, "???", attribute); 894SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "ref", attribute); 932SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", attributeGroup); 948SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", element); 977SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "form", element); 981SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "minOccurs", element); 985SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "maxOccurs", element); 1038SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "abstract", element); 1042SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "final", element); 1046SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "substitutionGroup", element); 1056SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "ref", element); 1123SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", constraint); 1129SendValidationEvent(ResXml.Sch_DupIdentityConstraint, constraint.QualifiedName.ToString(), constraint); 1179SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "name", simpleType); 1191SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", simpleType); 1318SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "name", complexType); 1330SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", complexType); 1406SendValidationEvent(ResXml.Sch_MissAttribute, "base", contentExtension); 1420SendValidationEvent(ResXml.Sch_MissAttribute, "base", contentRestriction); 1465SendValidationEvent(ResXml.Sch_MissAttribute, "base", contentExtension); 1484SendValidationEvent(ResXml.Sch_MissAttribute, "base", contentRestriction); 1523SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", group); 1532SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "minOccurs", group.Particle); 1536SendValidationEvent(ResXml.Sch_ForbiddenAttribute, "maxOccurs", group.Particle); 1553SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "name", notation); 1563SendValidationEvent(ResXml.Sch_InvalidPublicAttribute, notation.Public, notation); 1568SendValidationEvent(ResXml.Sch_MissRequiredAttribute, "public", notation); 1578SendValidationEvent(ResXml.Sch_InvalidSystemAttribute, notation.System, notation); 1660SendValidationEvent(ResXml.Sch_MissAttribute, "ref", groupRef); 1698SendValidationEvent(ResXml.Sch_MissAttribute, "ref", attributeGroupRef); 1742SendValidationEvent(ResXml.Sch_InvalidIdAttribute, ex.Message, xso);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (18)
885SendValidationEvent(ResXml.Sch_UndeclaredType, simpleExtension.BaseTypeName.ToString(), simpleExtension); 924SendValidationEvent(ResXml.Sch_UndefBaseRestriction, simpleRestriction.BaseTypeName.ToString(), simpleRestriction); 1007SendValidationEvent(ResXml.Sch_UndefBaseExtension, complexExtension.BaseTypeName.ToString(), complexExtension); 1073SendValidationEvent(ResXml.Sch_UndefBaseRestriction, complexRestriction.BaseTypeName.ToString(), complexRestriction); 1092SendValidationEvent(ResXml.Sch_InvalidContentRestrictionDetailed, ResXml.Sch_InvalidBaseToEmpty, complexType); 1099SendValidationEvent(ResXml.Sch_InvalidContentRestrictionDetailed, ResXml.Sch_InvalidBaseToMixed, complexType); 1131SendValidationEvent(ResXml.Sch_InvalidParticleRestrictionDetailed, _restrictionErrorMsg, complexType); 1166SendValidationEvent(ResXml.Sch_InvalidParticleRestrictionDetailed, _restrictionErrorMsg, derivedParticle); 1264SendValidationEvent(ResXml.Sch_UndefGroupRef, groupRef.RefName.ToString(), groupRef); 1280SendValidationEvent(ResXml.Sch_AllRefNotRoot, "", groupRef); 2083SendValidationEvent(ResXml.Sch_DupAttributeUse, attr.QualifiedName.ToString(), attr); 2109SendValidationEvent(ResXml.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 2116SendValidationEvent(ResXml.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 2149SendValidationEvent(ResXml.Sch_DupAttributeUse, attr.QualifiedName.ToString(), attr); 2175SendValidationEvent(ResXml.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attributeGroupRef); 2187SendValidationEvent(ResXml.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 2902SendValidationEvent(ResXml.Sch_DupElement, localElement.QualifiedName.ToString(), localElement); 2926SendValidationEvent(ResXml.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (XmlSchemaElement)e.Particle2);