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