28 writes to LineNumber
System.Xml (28)
System\Xml\Schema\Inference\Infer.cs (25)
408
xsa.
LineNumber
= AttributeType; //we use LineNumber to store flags of valid types
424
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
438
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
461
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
690
sce.
LineNumber
= TF_string;
695
xse.
LineNumber
= TF_string;
701
xse.
LineNumber
= TF_string;
729
sce.
LineNumber
= TF_string;
742
sce.
LineNumber
= TF_string;
750
xse.
LineNumber
= TF_string;
755
xse.
LineNumber
= TF_string;
770
sce.
LineNumber
= TF_string;
775
xse.
LineNumber
= TF_string;
820
sce.
LineNumber
= SimpleType; // we use LineNumber to represent valid type flags
825
sce.
LineNumber
= TF_string;
847
sce.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
852
sce.
LineNumber
= TF_string;
864
xse.
LineNumber
= TF_string;// we use LineNumber to store flags of valid types
873
xse.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
878
xse.
LineNumber
= TF_string;// we use LineNumber to store flags of valid types
895
xse.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
900
xse.
LineNumber
= TF_string;// we use LineNumber to store flags of valid types
1262
sce.
LineNumber
= xse.LineNumber;
1263
xse.
LineNumber
= 0;
2379
newElement.
LineNumber
= copyElement.LineNumber;
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
950
newAll.
LineNumber
= all.LineNumber;
System\Xml\Schema\SchemaSetCompiler.cs (1)
2559
to.
LineNumber
= from.LineNumber;
System\Xml\Schema\XsdBuilder.cs (1)
2353
this.xso.
LineNumber
= this.positionInfo.LineNumber;
29 references to LineNumber
System.Xml (29)
System\Xml\Schema\BaseProcessor.cs (1)
195
SendValidationEvent(new XmlSchemaException(code, args, innerException, source.SourceUri, source.
LineNumber
, source.LinePosition, source), XmlSeverityType.Error);
System\Xml\Schema\FacetChecker.cs (2)
307
throw new XmlSchemaException(Res.Sch_PatternFacetInvalid, new string[] {e.Message}, e, pattern_facet.SourceUri, pattern_facet.
LineNumber
, pattern_facet.LinePosition, pattern_facet);
556
throw new XmlSchemaException(code, new string[] {ex.Message} , ex, facet.SourceUri, facet.
LineNumber
, facet.LinePosition, facet);
System\Xml\Schema\Inference\Infer.cs (7)
416
AttributeType = xsa.
LineNumber
; // we use LineNumber to store flags of valid types
453
AttributeType = xsa.
LineNumber
; // we use LineNumber to store flags of valid types
812
SimpleType = sce.
LineNumber
; // we use LineNumber to represent valid type flags
884
TypeFlags = xse.
LineNumber
;
889
if (TypeFlags == -1 && xse.
LineNumber
== TF_string) { //Since schemaTypeName is not set for empty elements (<e></e>)
1262
sce.LineNumber = xse.
LineNumber
;
2379
newElement.LineNumber = copyElement.
LineNumber
;
System\Xml\Schema\Preprocessor.cs (3)
294
SendValidationEvent(new XmlSchemaException(Res.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.
LineNumber
, include.LinePosition, include), XmlSeverityType.Warning);
349
SendValidationEvent(new XmlSchemaException(Res.Sch_InvalidIncludeLocation, null, eInner, include.SourceUri, include.
LineNumber
, include.LinePosition, include), XmlSeverityType.Warning);
357
SendValidationEvent(new XmlSchemaException(Res.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.
LineNumber
, include.LinePosition, include), XmlSeverityType.Warning);
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
950
newAll.LineNumber = all.
LineNumber
;
System\Xml\Schema\SchemaSetCompiler.cs (13)
1238
restrictionErrorMsg = Res.GetString(Res.Sch_SeqFromAll, derivedParticle.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1264
restrictionErrorMsg = Res.GetString(Res.Sch_SeqFromChoice, derivedParticle.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1351
restrictionErrorMsg = Res.GetString(Res.Sch_GroupBaseFromAny2, derivedGroupBase.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), derivedGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseAny.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), baseAny.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1421
restrictionErrorMsg = Res.GetString(Res.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));
1431
restrictionErrorMsg = Res.GetString(Res.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));
1441
restrictionErrorMsg = Res.GetString(Res.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));
2559
to.LineNumber = from.
LineNumber
;
System\Xml\Schema\XmlSchemaException.cs (2)
116
this(res, args, null, source.SourceUri, source.
LineNumber
, source.LinePosition, source) {}
187
this.lineNumber = source.
LineNumber
;