39 references to XmlSchemaException
dotnet-svcutil-lib (39)
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (2)
234
SendValidationEvent(new
XmlSchemaException
(code, msg, source), XmlSeverityType.Error);
264
SendValidationEvent(new
XmlSchemaException
(code, msg, source), severity);
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (3)
200
throw new
XmlSchemaException
(ResXml.Sch_InvalidWhiteSpace, facet.Value, facet);
334
throw new
XmlSchemaException
(ResXml.Sch_FractionDigitsFacetInvalid, ResXml.Sch_FractionDigitsNotOnDecimal, facet);
750
throw new
XmlSchemaException
(errorCode, _datatype.TypeCodeString, facet);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (17)
547
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredSimpleType, list.ItemTypeName.ToString(), simpleType);
573
throw new
XmlSchemaException
(ResXml.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType);
587
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), simpleType);
652
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredSimpleType, mainMemberTypes[i].ToString(), simpleType);
2070
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa);
2075
throw new
XmlSchemaException
(ResXml.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa);
2084
throw new
XmlSchemaException
(ResXml.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa);
2090
throw new
XmlSchemaException
(ResXml.Sch_FixedInRef, xa.RefName.ToString(), xa);
2133
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredSimpleType, xa.SchemaTypeName.ToString(), xa);
2222
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi);
2227
throw new
XmlSchemaException
(ResXml.Sch_RefInvalidIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi);
2232
throw new
XmlSchemaException
(ResXml.Sch_RefInvalidCardin, xi.QualifiedName.ToString(), xi);
2237
throw new
XmlSchemaException
(ResXml.Sch_ReftoKeyref, xi.QualifiedName.ToString(), xi);
2278
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredElement, xe.RefName.ToString(), xe);
2283
throw new
XmlSchemaException
(ResXml.Sch_RefInvalidElement, xe.RefName.ToString(), xe);
2299
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredType, xe.SchemaTypeName.ToString(), xe);
2307
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredEquivClass, xe.SubstitutionGroup.Name.ToString(), xe);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (17)
628
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredSimpleType, list.ItemTypeName.ToString(), list);
657
throw new
XmlSchemaException
(ResXml.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType);
672
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), restriction);
737
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredSimpleType, mainMemberTypes[i].ToString(), mainUnion);
2488
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa);
2493
throw new
XmlSchemaException
(ResXml.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa);
2508
throw new
XmlSchemaException
(ResXml.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa);
2515
throw new
XmlSchemaException
(ResXml.Sch_FixedInRef, xa.RefName.ToString(), xa);
2543
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredSimpleType, xa.SchemaTypeName.ToString(), xa);
2653
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi);
2658
throw new
XmlSchemaException
(ResXml.Sch_RefInvalidIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi);
2663
throw new
XmlSchemaException
(ResXml.Sch_RefInvalidCardin, xi.QualifiedName.ToString(), xi);
2668
throw new
XmlSchemaException
(ResXml.Sch_ReftoKeyref, xi.QualifiedName.ToString(), xi);
2709
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredElement, xe.RefName.ToString(), xe);
2714
throw new
XmlSchemaException
(ResXml.Sch_RefInvalidElement, xe.RefName.ToString(), xe);
2730
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredType, xe.SchemaTypeName.ToString(), xe);
2738
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredEquivClass, xe.SubstitutionGroup.Name.ToString(), xe);