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)
1135if (_restrictionErrorMsg != null) 1137SendValidationEvent(SR.Sch_InvalidParticleRestrictionDetailed, _restrictionErrorMsg, complexType); 1171if (_restrictionErrorMsg != null) 1173SendValidationEvent(SR.Sch_InvalidParticleRestrictionDetailed, _restrictionErrorMsg, derivedParticle);