16 references to LinePosition
System.Data.Entity (2)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
335
AddError(ErrorCode.XmlError, severity, e.Exception.LineNumber, e.Exception.
LinePosition
, e.Message);
System\Data\Mapping\StorageMappingItemLoader.cs (1)
3582
, (int)StorageMappingErrorCode.XmlSchemaValidationError, severity, sourceLocation, args.Exception.LineNumber, args.Exception.
LinePosition
);
System.ServiceModel (1)
System\ServiceModel\Description\SchemaHelper.cs (1)
147
warning = new MetadataConversionError(SR.GetString(SR.SchemaValidationError, ex.SourceUri, ex.LineNumber, ex.
LinePosition
, ex.Message));
System.Web.Extensions (4)
Compilation\WCFModel\MapFileLoader.cs (2)
273
schemaException.
LinePosition
),
276
schemaException.
LinePosition
);
Compilation\WCFModel\ProxyGenerationError.cs (2)
118
m_LinePosition = errorException.
LinePosition
;
136
m_LinePosition = errorException.
LinePosition
;
System.Web.Services (4)
System\Web\Services\Description\SchemaCompiler.cs (2)
56
if (exception.LineNumber == 0 && exception.
LinePosition
== 0) {
69
details = Res.GetString(Res.SchemaSyntaxErrorDetails, ns, message, exception.LineNumber, exception.
LinePosition
);
System\Web\Services\Description\ServiceDescription.cs (1)
62
warnings.Add(Res.GetString(Res.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.
LinePosition
.ToString(CultureInfo.InvariantCulture)));
System\Web\Services\Description\WebReferenceOptions.cs (1)
158
throw new InvalidOperationException(Res.GetString(Res.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.
LinePosition
.ToString(CultureInfo.InvariantCulture)));
System.Xml (5)
System\Xml\Schema\Preprocessor.cs (1)
346
SendValidationEvent(Res.Sch_CannotLoadSchemaLocation, schemaLocation, e.Message, e.SourceUri, e.LineNumber, e.
LinePosition
);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
207
SendValidationEventNoThrow(new XmlSchemaException(Res.Sch_CannotLoadSchema, new string[] {schemaLocation, e.Message}, e.SourceUri, e.LineNumber, e.
LinePosition
), XmlSeverityType.Error);
System\Xml\Schema\XmlSchemaValidator.cs (1)
2358
SendValidationEvent(new XmlSchemaValidationException(e.GetRes,e.Args,e.SourceUri,e.LineNumber,e.
LinePosition
), XmlSeverityType.Error);
System\Xml\Serialization\XmlSchemas.cs (2)
663
if (exception.LineNumber == 0 && exception.
LinePosition
== 0) {
676
throw new InvalidOperationException(Res.GetString(Res.XmlSchemaSyntaxErrorDetails, ns, message, exception.LineNumber, exception.
LinePosition
), exception);