23 writes to _restrictionErrorMsg
dotnet-svcutil-lib (23)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (23)
1109
_restrictionErrorMsg
= null;
1159
_restrictionErrorMsg
= null;
1529
_restrictionErrorMsg
= ResXml.Sch_ForbiddenDerivedParticleForElem;
1567
_restrictionErrorMsg
= string.Format(ResXml.Sch_SeqFromAll, derivedParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1571
_restrictionErrorMsg
= ResXml.Sch_ForbiddenDerivedParticleForAll;
1601
_restrictionErrorMsg
= string.Format(ResXml.Sch_SeqFromChoice, derivedParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1605
_restrictionErrorMsg
= ResXml.Sch_ForbiddenDerivedParticleForChoice;
1624
_restrictionErrorMsg
= ResXml.Sch_ForbiddenDerivedParticleForSeq;
1659
_restrictionErrorMsg
= string.Format(ResXml.Sch_ElementFromElement, derivedElement.QualifiedName, baseElement.QualifiedName);
1669
_restrictionErrorMsg
= string.Format(ResXml.Sch_ElementFromAnyRule1, derivedElement.QualifiedName.ToString());
1674
_restrictionErrorMsg
= string.Format(ResXml.Sch_ElementFromAnyRule2, derivedElement.QualifiedName.ToString());
1684
_restrictionErrorMsg
= ResXml.Sch_AnyFromAnyRule1;
1689
_restrictionErrorMsg
= ResXml.Sch_AnyFromAnyRule2;
1694
_restrictionErrorMsg
= ResXml.Sch_AnyFromAnyRule3;
1706
_restrictionErrorMsg
= string.Format(ResXml.Sch_GroupBaseFromAny2, derivedGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseAny.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseAny.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1716
_restrictionErrorMsg
= ResXml.Sch_GroupBaseFromAny1;
1781
_restrictionErrorMsg
= string.Format(ResXml.Sch_ElementFromGroupBase1, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1793
_restrictionErrorMsg
= string.Format(ResXml.Sch_ElementFromGroupBase2, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1805
_restrictionErrorMsg
= string.Format(ResXml.Sch_ElementFromGroupBase3, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1814
_restrictionErrorMsg
= ResXml.Sch_GroupBaseRestRangeInvalid;
1831
_restrictionErrorMsg
= ResXml.Sch_GroupBaseRestRangeInvalid;
1836
_restrictionErrorMsg
= ResXml.Sch_GroupBaseRestNoMap;
1852
_restrictionErrorMsg
= ResXml.Sch_GroupBaseRestNotEmptiable;
5 references to _restrictionErrorMsg
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (5)
1129
if (
_restrictionErrorMsg
!= null)
1131
SendValidationEvent(ResXml.Sch_InvalidParticleRestrictionDetailed,
_restrictionErrorMsg
, complexType);
1164
if (
_restrictionErrorMsg
!= null)
1166
SendValidationEvent(ResXml.Sch_InvalidParticleRestrictionDetailed,
_restrictionErrorMsg
, derivedParticle);
1850
if (
_restrictionErrorMsg
== null)