4 writes to LinePosition
System.Private.Xml (4)
System\Xml\Schema\Inference\Infer.cs (1)
2399
newElement.
LinePosition
= copyElement.LinePosition;
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1193
newAll.
LinePosition
= all.LinePosition;
System\Xml\Schema\SchemaSetCompiler.cs (1)
3071
to.
LinePosition
= from.LinePosition;
System\Xml\Schema\XsdBuilder.cs (1)
2597
_xso.
LinePosition
= _positionInfo.LinePosition;
23 references to LinePosition
System.Private.Xml (23)
System\Xml\Schema\BaseProcessor.cs (1)
230
SendValidationEvent(new XmlSchemaException(code, args, innerException, source.SourceUri, source.LineNumber, source.
LinePosition
, source), XmlSeverityType.Error);
System\Xml\Schema\FacetChecker.cs (2)
371
throw new XmlSchemaException(SR.Sch_PatternFacetInvalid, new string[] { e.Message }, e, _pattern_facet!.SourceUri, _pattern_facet.LineNumber, _pattern_facet.
LinePosition
, _pattern_facet);
673
throw new XmlSchemaException(code, new string[] { ex.Message }, ex, facet.SourceUri, facet.LineNumber, facet.
LinePosition
, facet);
System\Xml\Schema\Inference\Infer.cs (1)
2399
newElement.LinePosition = copyElement.
LinePosition
;
System\Xml\Schema\Preprocessor.cs (3)
329
SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.
LinePosition
, include), XmlSeverityType.Warning);
399
SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, eInner, include.SourceUri, include.LineNumber, include.
LinePosition
, include), XmlSeverityType.Warning);
409
SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.
LinePosition
, include), XmlSeverityType.Warning);
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1193
newAll.LinePosition = all.
LinePosition
;
System\Xml\Schema\SchemaSetCompiler.cs (13)
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));
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));
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));
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));
3071
to.LinePosition = from.
LinePosition
;
System\Xml\Schema\XmlSchemaException.cs (2)
125
this(res, args, null, source.SourceUri, source.LineNumber, source.
LinePosition
, source)
214
_linePosition = source.
LinePosition
;