22 references to LineNumber
System.Data.Entity (2)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
335AddError(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)
147warning = new MetadataConversionError(SR.GetString(SR.SchemaValidationError, ex.SourceUri, ex.LineNumber, ex.LinePosition, ex.Message));
System.Web (5)
Compilation\AssemblyBuilder.cs (1)
489buildProvider.VirtualPath, null /*sourceCode*/, e.LineNumber);
Configuration\BrowserCapabilitiesCodeGenerator.cs (4)
491throw new HttpParseException(e.Message, null /*innerException*/, virtualDir + "/" + NoPathFileName(fileName), null /*sourceCode*/, e.LineNumber); 494throw new HttpParseException(e.Message, null /*innerException*/, fileName, null /*sourceCode*/, e.LineNumber); 600throw new HttpParseException(e.Message, null /*innerException*/, virtualDir + "/" + NoPathFileName(fileName), null /*sourceCode*/, e.LineNumber); 603throw new HttpParseException(e.Message, null /*innerException*/, fileName, null /*sourceCode*/, e.LineNumber);
System.Web.Extensions (5)
Compilation\WCFModel\MapFileLoader.cs (3)
266if (schemaException.LineNumber > 0) 272schemaException.LineNumber, 275schemaException.LineNumber,
Compilation\WCFModel\ProxyGenerationError.cs (2)
117m_LineNumber = errorException.LineNumber; 135m_LineNumber = errorException.LineNumber;
System.Web.Services (4)
System\Web\Services\Description\SchemaCompiler.cs (2)
56if (exception.LineNumber == 0 && exception.LinePosition == 0) { 69details = Res.GetString(Res.SchemaSyntaxErrorDetails, ns, message, exception.LineNumber, exception.LinePosition);
System\Web\Services\Description\ServiceDescription.cs (1)
62warnings.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)
158throw 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)
346SendValidationEvent(Res.Sch_CannotLoadSchemaLocation, schemaLocation, e.Message, e.SourceUri, e.LineNumber, e.LinePosition);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
207SendValidationEventNoThrow(new XmlSchemaException(Res.Sch_CannotLoadSchema, new string[] {schemaLocation, e.Message}, e.SourceUri, e.LineNumber, e.LinePosition), XmlSeverityType.Error);
System\Xml\Schema\XmlSchemaValidator.cs (1)
2358SendValidationEvent(new XmlSchemaValidationException(e.GetRes,e.Args,e.SourceUri,e.LineNumber,e.LinePosition), XmlSeverityType.Error);
System\Xml\Serialization\XmlSchemas.cs (2)
663if (exception.LineNumber == 0 && exception.LinePosition == 0) { 676throw new InvalidOperationException(Res.GetString(Res.XmlSchemaSyntaxErrorDetails, ns, message, exception.LineNumber, exception.LinePosition), exception);