28 writes to LineNumber
System.Private.Xml (28)
System\Xml\Schema\Inference\Infer.cs (25)
389xsa.LineNumber = AttributeType; //we use LineNumber to store flags of valid types 404xsa.LineNumber = AttributeType; // we use LineNumber to store flags of valid types 419xsa.LineNumber = AttributeType; // we use LineNumber to store flags of valid types 442xsa.LineNumber = AttributeType; // we use LineNumber to store flags of valid types 673sce.LineNumber = TF_string; 678xse.LineNumber = TF_string; 684xse.LineNumber = TF_string; 713sce.LineNumber = TF_string; 726sce.LineNumber = TF_string; 734xse.LineNumber = TF_string; 739xse.LineNumber = TF_string; 754sce.LineNumber = TF_string; 759xse.LineNumber = TF_string; 804sce.LineNumber = SimpleType; // we use LineNumber to represent valid type flags 809sce.LineNumber = TF_string; 831sce.LineNumber = TypeFlags; // we use LineNumber to store flags of valid types 836sce.LineNumber = TF_string; 847xse.LineNumber = TF_string; // we use LineNumber to store flags of valid types 856xse.LineNumber = TypeFlags; // we use LineNumber to store flags of valid types 861xse.LineNumber = TF_string; // we use LineNumber to store flags of valid types 879xse.LineNumber = TypeFlags; // we use LineNumber to store flags of valid types 884xse.LineNumber = TF_string; // we use LineNumber to store flags of valid types 1248sce.LineNumber = xse.LineNumber; 1249xse.LineNumber = 0; 2398newElement.LineNumber = copyElement.LineNumber;
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1192newAll.LineNumber = all.LineNumber;
System\Xml\Schema\SchemaSetCompiler.cs (1)
3072to.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)
230SendValidationEvent(new XmlSchemaException(code, args, innerException, source.SourceUri, source.LineNumber, source.LinePosition, source), XmlSeverityType.Error);
System\Xml\Schema\FacetChecker.cs (2)
371throw new XmlSchemaException(SR.Sch_PatternFacetInvalid, new string[] { e.Message }, e, _pattern_facet!.SourceUri, _pattern_facet.LineNumber, _pattern_facet.LinePosition, _pattern_facet); 673throw new XmlSchemaException(code, new string[] { ex.Message }, ex, facet.SourceUri, facet.LineNumber, facet.LinePosition, facet);
System\Xml\Schema\Inference\Infer.cs (7)
396AttributeType = xsa.LineNumber; // we use LineNumber to store flags of valid types 434AttributeType = xsa.LineNumber; // we use LineNumber to store flags of valid types 796SimpleType = sce.LineNumber; // we use LineNumber to represent valid type flags 867TypeFlags = xse.LineNumber; 872if (TypeFlags == -1 && xse.LineNumber == TF_string) 1248sce.LineNumber = xse.LineNumber; 2398newElement.LineNumber = copyElement.LineNumber;
System\Xml\Schema\Preprocessor.cs (3)
329SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning); 399SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, eInner, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning); 409SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1192newAll.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)); 3072to.LineNumber = from.LineNumber;
System\Xml\Schema\XmlSchemaException.cs (2)
125this(res, args, null, source.SourceUri, source.LineNumber, source.LinePosition, source) 213_lineNumber = source.LineNumber;