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