22 references to LineNumber
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 (5)
Compilation\AssemblyBuilder.cs (1)
489
buildProvider.VirtualPath, null /*sourceCode*/, e.
LineNumber
);
Configuration\BrowserCapabilitiesCodeGenerator.cs (4)
491
throw new HttpParseException(e.Message, null /*innerException*/, virtualDir + "/" + NoPathFileName(fileName), null /*sourceCode*/, e.
LineNumber
);
494
throw new HttpParseException(e.Message, null /*innerException*/, fileName, null /*sourceCode*/, e.
LineNumber
);
600
throw new HttpParseException(e.Message, null /*innerException*/, virtualDir + "/" + NoPathFileName(fileName), null /*sourceCode*/, e.
LineNumber
);
603
throw new HttpParseException(e.Message, null /*innerException*/, fileName, null /*sourceCode*/, e.
LineNumber
);
System.Web.Extensions (5)
Compilation\WCFModel\MapFileLoader.cs (3)
266
if (schemaException.
LineNumber
> 0)
272
schemaException.
LineNumber
,
275
schemaException.
LineNumber
,
Compilation\WCFModel\ProxyGenerationError.cs (2)
117
m_LineNumber = errorException.
LineNumber
;
135
m_LineNumber = errorException.
LineNumber
;
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);