28 writes to LineNumber
dotnet-svcutil-lib (28)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (25)
410
xsa.
LineNumber
= AttributeType; //we use LineNumber to store flags of valid types
425
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
440
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
463
xsa.
LineNumber
= AttributeType; // we use LineNumber to store flags of valid types
691
sce.
LineNumber
= TF_string;
696
xse.
LineNumber
= TF_string;
702
xse.
LineNumber
= TF_string;
731
sce.
LineNumber
= TF_string;
744
sce.
LineNumber
= TF_string;
752
xse.
LineNumber
= TF_string;
757
xse.
LineNumber
= TF_string;
772
sce.
LineNumber
= TF_string;
777
xse.
LineNumber
= TF_string;
822
sce.
LineNumber
= SimpleType; // we use LineNumber to represent valid type flags
827
sce.
LineNumber
= TF_string;
849
sce.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
854
sce.
LineNumber
= TF_string;
865
xse.
LineNumber
= TF_string;// we use LineNumber to store flags of valid types
874
xse.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
879
xse.
LineNumber
= TF_string;// we use LineNumber to store flags of valid types
897
xse.
LineNumber
= TypeFlags; // we use LineNumber to store flags of valid types
902
xse.
LineNumber
= TF_string;// we use LineNumber to store flags of valid types
1271
sce.
LineNumber
= xse.LineNumber;
1272
xse.
LineNumber
= 0;
2418
newElement.
LineNumber
= copyElement.LineNumber;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
1194
newAll.
LineNumber
= all.LineNumber;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
3229
to.
LineNumber
= from.LineNumber;
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
2601
_xso.
LineNumber
= _positionInfo.LineNumber;
35 references to LineNumber
dotnet-svcutil-lib (35)
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (1)
244
SendValidationEvent(new XmlSchemaException(code, args, innerException, source.SourceUri, source.
LineNumber
, source.LinePosition, source), XmlSeverityType.Error);
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (2)
370
throw new XmlSchemaException(ResXml.Sch_PatternFacetInvalid, new string[] { e.Message }, e, _pattern_facet.SourceUri, _pattern_facet.
LineNumber
, _pattern_facet.LinePosition, _pattern_facet);
676
throw new XmlSchemaException(code, new string[] { ex.Message }, ex, facet.SourceUri, facet.
LineNumber
, facet.LinePosition, facet);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (7)
417
AttributeType = xsa.
LineNumber
; // we use LineNumber to store flags of valid types
455
AttributeType = xsa.
LineNumber
; // we use LineNumber to store flags of valid types
814
SimpleType = sce.
LineNumber
; // we use LineNumber to represent valid type flags
885
TypeFlags = xse.
LineNumber
;
890
if (TypeFlags == -1 && xse.
LineNumber
== TF_string)
1271
sce.LineNumber = xse.
LineNumber
;
2418
newElement.LineNumber = copyElement.
LineNumber
;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (3)
349
SendValidationEvent(new XmlSchemaException(ResXml.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.
LineNumber
, include.LinePosition, include), XmlSeverityType.Warning);
418
SendValidationEvent(new XmlSchemaException(ResXml.Sch_InvalidIncludeLocation, null, eInner, include.SourceUri, include.
LineNumber
, include.LinePosition, include), XmlSeverityType.Warning);
428
SendValidationEvent(new XmlSchemaException(ResXml.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.
LineNumber
, include.LinePosition, include), XmlSeverityType.Warning);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (4)
1043
position = " in " + complexType.SourceUri + "(" + complexType.
LineNumber
+ ", " + complexType.LinePosition + ")";
1194
newAll.LineNumber = all.
LineNumber
;
1900
position = " in " + derivedType.SourceUri + "(" + derivedType.
LineNumber
+ ", " + derivedType.LinePosition + ")";
1933
position = " in " + derivedType.SourceUri + "(" + derivedType.
LineNumber
+ ", " + derivedType.LinePosition + ")";
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (16)
1122
position = " in " + complexType.SourceUri + "(" + complexType.
LineNumber
+ ", " + complexType.LinePosition + ")";
1567
_restrictionErrorMsg = string.Format(ResXml.Sch_SeqFromAll, derivedParticle.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1601
_restrictionErrorMsg = string.Format(ResXml.Sch_SeqFromChoice, derivedParticle.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1706
_restrictionErrorMsg = string.Format(ResXml.Sch_GroupBaseFromAny2, derivedGroupBase.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), derivedGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseAny.
LineNumber
.ToString(NumberFormatInfo.InvariantInfo), baseAny.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1781
_restrictionErrorMsg = string.Format(ResXml.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));
1793
_restrictionErrorMsg = string.Format(ResXml.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));
1805
_restrictionErrorMsg = string.Format(ResXml.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));
2243
position = " in " + derivedType.SourceUri + "(" + derivedType.
LineNumber
+ ", " + derivedType.LinePosition + ")";
2284
position = " in " + derivedType.SourceUri + "(" + derivedType.
LineNumber
+ ", " + derivedType.LinePosition + ")";
3229
to.LineNumber = from.
LineNumber
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaException.cs (2)
85
this(res, args, null, source.SourceUri, source.
LineNumber
, source.LinePosition, source)
171
_lineNumber = source.
LineNumber
;