28 writes to LineNumber
System.Private.Xml (28)
System\Xml\Schema\Inference\Infer.cs (25)
389
xsa.
LineNumber
= AttributeType; //we use LineNumber to store flags of valid types
404
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
419
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
442
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
673
sce.
LineNumber
= TF_string;
678
xse.
LineNumber
= TF_string;
684
xse.
LineNumber
= TF_string;
713
sce.
LineNumber
= TF_string;
726
sce.
LineNumber
= TF_string;
734
xse.
LineNumber
= TF_string;
739
xse.
LineNumber
= TF_string;
754
sce.
LineNumber
= TF_string;
759
xse.
LineNumber
= TF_string;
804
sce.
LineNumber
= SimpleType; // we use LineNumber to represent valid type flags
809
sce.
LineNumber
= TF_string;
831
sce.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
836
sce.
LineNumber
= TF_string;
847
xse.
LineNumber
= TF_string; // we use LineNumber to store flags of valid types
856
xse.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
861
xse.
LineNumber
= TF_string; // we use LineNumber to store flags of valid types
879
xse.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
884
xse.
LineNumber
= TF_string; // we use LineNumber to store flags of valid types
1248
sce.
LineNumber
= xse.LineNumber;
1249
xse.
LineNumber
= 0;
2398
newElement.
LineNumber
= copyElement.LineNumber;
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1192
newAll.
LineNumber
= all.LineNumber;
System\Xml\Schema\SchemaSetCompiler.cs (1)
3072
to.
LineNumber
= from.LineNumber;
System\Xml\Schema\XsdBuilder.cs (1)
2596
_xso.
LineNumber
= _positionInfo.LineNumber;
29 references to LineNumber
System.Private.Xml (29)
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 (7)
396
AttributeType = xsa.
LineNumber
; // we use LineNumber to store flags of valid types
434
AttributeType = xsa.
LineNumber
; // we use LineNumber to store flags of valid types
796
SimpleType = sce.
LineNumber
; // we use LineNumber to represent valid type flags
867
TypeFlags = xse.
LineNumber
;
872
if (TypeFlags == -1 && xse.
LineNumber
== TF_string)
1248
sce.LineNumber = xse.
LineNumber
;
2398
newElement.LineNumber = copyElement.
LineNumber
;
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)
1192
newAll.LineNumber = all.
LineNumber
;
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));
3072
to.LineNumber = from.
LineNumber
;
System\Xml\Schema\XmlSchemaException.cs (2)
125
this(res, args, null, source.SourceUri, source.
LineNumber
, source.LinePosition, source)
213
_lineNumber = source.
LineNumber
;