23 writes to _restrictionErrorMsg
System.Private.Xml (23)
System\Xml\Schema\SchemaSetCompiler.cs (23)
1128
_restrictionErrorMsg
= null;
1166
_restrictionErrorMsg
= null;
1545
_restrictionErrorMsg
= SR.Sch_ForbiddenDerivedParticleForElem;
1583
_restrictionErrorMsg
= SR.Format(SR.Sch_SeqFromAll, derivedParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1587
_restrictionErrorMsg
= SR.Sch_ForbiddenDerivedParticleForAll;
1617
_restrictionErrorMsg
= SR.Format(SR.Sch_SeqFromChoice, derivedParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1621
_restrictionErrorMsg
= SR.Sch_ForbiddenDerivedParticleForChoice;
1640
_restrictionErrorMsg
= SR.Sch_ForbiddenDerivedParticleForSeq;
1675
_restrictionErrorMsg
= SR.Format(SR.Sch_ElementFromElement, derivedElement.QualifiedName, baseElement.QualifiedName);
1685
_restrictionErrorMsg
= SR.Format(SR.Sch_ElementFromAnyRule1, derivedElement.QualifiedName.ToString());
1690
_restrictionErrorMsg
= SR.Format(SR.Sch_ElementFromAnyRule2, derivedElement.QualifiedName.ToString());
1700
_restrictionErrorMsg
= SR.Sch_AnyFromAnyRule1;
1705
_restrictionErrorMsg
= SR.Sch_AnyFromAnyRule2;
1710
_restrictionErrorMsg
= SR.Sch_AnyFromAnyRule3;
1722
_restrictionErrorMsg
= SR.Format(SR.Sch_GroupBaseFromAny2, derivedGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseAny.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseAny.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1732
_restrictionErrorMsg
= SR.Sch_GroupBaseFromAny1;
1797
_restrictionErrorMsg
= SR.Format(SR.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));
1809
_restrictionErrorMsg
= SR.Format(SR.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));
1821
_restrictionErrorMsg
= SR.Format(SR.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));
1830
_restrictionErrorMsg
= SR.Sch_GroupBaseRestRangeInvalid;
1847
_restrictionErrorMsg
= SR.Sch_GroupBaseRestRangeInvalid;
1852
_restrictionErrorMsg
= SR.Sch_GroupBaseRestNoMap;
1867
_restrictionErrorMsg
??= SR.Sch_GroupBaseRestNotEmptiable;
4 references to _restrictionErrorMsg
System.Private.Xml (4)
System\Xml\Schema\SchemaSetCompiler.cs (4)
1135
if (
_restrictionErrorMsg
!= null)
1137
SendValidationEvent(SR.Sch_InvalidParticleRestrictionDetailed,
_restrictionErrorMsg
, complexType);
1171
if (
_restrictionErrorMsg
!= null)
1173
SendValidationEvent(SR.Sch_InvalidParticleRestrictionDetailed,
_restrictionErrorMsg
, derivedParticle);