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