28 implementations of LineNumber
PresentationBuildTasks (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
175
public virtual int
LineNumber
{
System.Activities (1)
System\Activities\Debugger\XmlWrappingReader.cs (1)
134
public virtual int
LineNumber
System.Data.Entity (1)
System\Data\Mapping\FunctionImportMapping.cs (1)
745
public int
LineNumber
System.Data.Services.Client (1)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (1)
147
public virtual int
LineNumber
System.IdentityModel (3)
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
427
public int
LineNumber
System\IdentityModel\WrappedReader.cs (1)
36
public int
LineNumber
System\IdentityModel\WrappedXmlDictionaryReader.cs (1)
203
public int
LineNumber
System.Runtime.Serialization (5)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
170
int IXmlLineInfo.
LineNumber
System\Xml\XmlDictionaryReader.cs (1)
1745
public int
LineNumber
System\Xml\XmlMtomReader.cs (2)
978
public int
LineNumber
1692
int IXmlLineInfo.
LineNumber
System\Xml\XmlUTF8TextReader.cs (1)
1160
public int
LineNumber
System.Xml (12)
System\Xml\Cache\XPathDocumentNavigator.cs (1)
857
public int
LineNumber
{
System\Xml\Core\XmlAsyncCheckReader.cs (1)
825
public virtual int
LineNumber
{
System\Xml\Core\XmlSubtreeReader.cs (1)
980
int IXmlLineInfo.
LineNumber
{
System\Xml\Core\XmlTextReader.cs (1)
288
public int
LineNumber
{ get { return impl.LineNumber; } }
System\Xml\Core\XmlTextReaderImpl.cs (1)
1820
public int
LineNumber
{
System\Xml\Core\XmlValidatingReader.cs (1)
221
public int
LineNumber
{ get { return impl.LineNumber; } }
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
660
public int
LineNumber
{
System\Xml\Core\XmlWrappingReader.cs (1)
131
public virtual int
LineNumber
{
System\Xml\Core\XsdCachingReader.cs (1)
526
int IXmlLineInfo.
LineNumber
{
System\Xml\Core\XsdValidatingReader.cs (1)
1474
public int
LineNumber
{
System\Xml\IXmlLineInfo.cs (1)
22
public virtual int
LineNumber
{ get { return 0;} }
System\Xml\Serialization\XmlCountingReader.cs (1)
402
int IXmlLineInfo.
LineNumber
System.Xml.Linq (3)
System\Xml\Linq\XLinq.cs (2)
1216
int IXmlLineInfo.
LineNumber
{
8873
int IXmlLineInfo.
LineNumber
{
System\Xml\Linq\XNodeNavigator.cs (1)
631
int IXmlLineInfo.
LineNumber
{
WindowsBase (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
175
public virtual int
LineNumber
{
98 references to LineNumber
PresentationBuildTasks (6)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
1482
throw new XmlException(string.Format(CultureInfo.InvariantCulture, message, args), null, info == null ? 1 : info.
LineNumber
,
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
177
return ( _readerAsIXmlLineInfo == null ) ? 0 : _readerAsIXmlLineInfo.
LineNumber
;
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
867
lineNumber = xmlLineInfo.
LineNumber
;
Framework\System\Windows\Markup\XamlReaderHelper.cs (3)
5261
return _xmlLineInfo.
LineNumber
+ _parserContext.LineNumber - 1;
5265
return _xmlLineInfo.
LineNumber
;
5290
_xmlLineInfo.
LineNumber
== 1)
SMDiagnostics (1)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
234
(null != lineInfo) ? lineInfo.
LineNumber
: 0,
System.Activities (2)
System\Activities\Debugger\XmlReaderWithSourceLocation.cs (1)
107
return new DocumentLocation(this.BaseReaderAsLineInfo.
LineNumber
, this.BaseReaderAsLineInfo.LinePosition);
System\Activities\Debugger\XmlWrappingReader.cs (1)
138
return (this.baseReaderAsLineInfo == null) ? 0 : this.baseReaderAsLineInfo.
LineNumber
;
System.Data.Entity (19)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
337
lineNumber = xmlLineInfo.
LineNumber
;
System\Data\Mapping\FunctionImportMapping.cs (1)
733
m_lineNumber = lineInfo.
LineNumber
;
System\Data\Mapping\StorageMappingItemLoader.cs (17)
385
entityContainerMapping.StartLineNumber = navLineInfo.
LineNumber
;
829
setMapping.StartLineNumber = navLineInfo.
LineNumber
;
1372
((IXmlLineInfo)nav).
LineNumber
, ((IXmlLineInfo)nav).LinePosition);
1380
((IXmlLineInfo)nav).
LineNumber
, ((IXmlLineInfo)nav).LinePosition);
1454
setMapping.StartLineNumber = navLineInfo.
LineNumber
;
2460
m_sourceLocation, navLineInfo.
LineNumber
, navLineInfo.LinePosition);
2497
m_sourceLocation, columnMappingLineInfo.
LineNumber
, columnMappingLineInfo.LinePosition);
2516
m_sourceLocation, columnMappingLineInfo.
LineNumber
, columnMappingLineInfo.LinePosition);
2663
fragment.StartLineNumber = navLineInfo.
LineNumber
;
2891
xmlLineInfoNav.
LineNumber
,
3386
EdmSchemaError error = new EdmSchemaError(message, (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.
LineNumber
, lineInfo.LinePosition);
3392
EdmSchemaError error = new EdmSchemaError(messageFormat(errorMember), (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.
LineNumber
, lineInfo.LinePosition);
3402
, (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.
LineNumber
, lineInfo.LinePosition);
3408
EdmSchemaError error = new EdmSchemaError(errorMessage, (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.
LineNumber
, lineInfo.LinePosition);
3622
m_sourceLocation, lineInfo.
LineNumber
,
3646
lineInfo.
LineNumber
,
3656
m_sourceLocation, lineInfo.
LineNumber
,
System.Data.Services.Client (1)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (1)
153
return this.readerAsIXmlLineInfo.
LineNumber
;
System.Data.SqlXml (10)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
1007
OnCurrentNodeChanged2(currentNode.BaseURI, lineInfo.
LineNumber
, lineInfo.LinePosition);
System\Xml\Xsl\Xslt\XsltInput.cs (9)
167
rec.start = new Location(readerLineInfo.
LineNumber
, readerLineInfo.LinePosition - PositionAdjustment(reader.NodeType));
173
rec.end = new Location(readerLineInfo.
LineNumber
, readerLineInfo.LinePosition - PositionAdjustment(reader.NodeType));
193
int line = readerLineInfo.
LineNumber
;
228
rec.start = new Location(readerLineInfo.
LineNumber
, readerLineInfo.LinePosition - 1);
237
int line = readerLineInfo.
LineNumber
;
239
rec.end = new Location(readerLineInfo.
LineNumber
, readerLineInfo.LinePosition + 1);
271
rec.valueStart = new Location(readerLineInfo.
LineNumber
, readerLineInfo.LinePosition + correction);
297
rec.end = new Location(readerLineInfo.
LineNumber
, readerLineInfo.LinePosition + correction);
922
loc = new Location(readerLineInfo.
LineNumber
, readerLineInfo.LinePosition);
System.IdentityModel (4)
System\IdentityModel\DiagnosticUtilityExtensions.cs (1)
126
(null != lineInfo) ? lineInfo.
LineNumber
: 0,
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
438
return lineInfo.
LineNumber
;
System\IdentityModel\WrappedReader.cs (1)
45
return lineInfo.
LineNumber
;
System\IdentityModel\WrappedXmlDictionaryReader.cs (1)
214
return lineInfo.
LineNumber
;
System.Runtime.Serialization (7)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
1074
return (iXmlLineInfo == null) ? 0 : iXmlLineInfo.
LineNumber
;
System\Runtime\Serialization\XmlSerializableReader.cs (1)
175
return (xmlLineInfo == null) ? xmlReader.LineNumber : xmlLineInfo.
LineNumber
;
System\Xml\XmlDictionaryReader.cs (1)
1754
return lineInfo.
LineNumber
;
System\Xml\XmlExceptionHelper.cs (2)
34
s += " " + SR.GetString(SR.XmlLineInfo, lineInfo.
LineNumber
, lineInfo.LinePosition);
51
s += " " + SR.GetString(SR.XmlLineInfo, lineInfo.
LineNumber
, lineInfo.LinePosition);
System\Xml\XmlMtomReader.cs (2)
988
return lineInfo.
LineNumber
;
1696
return ((IXmlLineInfo)parentReader).
LineNumber
;
System.ServiceModel (3)
System\ServiceModel\EndpointAddress.cs (1)
979
return new XmlException(message, null, lineInfo.
LineNumber
, lineInfo.LinePosition);
System\ServiceModel\Syndication\FeedUtils.cs (1)
20
error = String.Format(CultureInfo.InvariantCulture, "{0} {1}", SR.GetString(SR.ErrorInLine, lineInfo.
LineNumber
, lineInfo.LinePosition), SR.GetString(error));
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
565
s += " " + SR.GetString(SR.XmlLineInfo, lineInfo.
LineNumber
, lineInfo.LinePosition);
System.Windows.Forms (1)
winforms\Managed\System\Resources\ResXResourceReader.cs (1)
372
pt.Y = lineInfo.
LineNumber
;
System.Workflow.ComponentModel (8)
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (1)
115
int lineNumber = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).
LineNumber
: 1;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (4)
501
int lineNumber = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).
LineNumber
: 1;
516
int lineNumber = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).
LineNumber
: 1;
1675
return new WorkflowMarkupSerializationException(errorMsg, xmlLineInfo.
LineNumber
, xmlLineInfo.LinePosition);
2533
argTokens = TokenizeAttributes(serializationManager, arguments, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).
LineNumber
: 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1);
Shared\XomlSerializationHelpers.cs (3)
119
serializationManager.ReportError(new WorkflowMarkupSerializationException(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), new object[] { StandardXomlKeys.Definitions_XmlNs_Prefix, reader.LocalName, StandardXomlKeys.Definitions_XmlNs }), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).
LineNumber
: 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1));
150
serializationManager.ReportError(new WorkflowMarkupSerializationException(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), StandardXomlKeys.Definitions_XmlNs_Prefix, reader.LocalName, StandardXomlKeys.Definitions_XmlNs), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).
LineNumber
: 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1));
174
int lineNumber = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).
LineNumber
: 1;
System.Xml (25)
System\Xml\Cache\XPathDocumentBuilder.cs (2)
635
lineNum = this.lineInfo.
LineNumber
;
816
this.lineNum = this.lineInfo.
LineNumber
;
System\Xml\Core\ValidatingReaderNodeData.cs (1)
164
this.lineNo = lineInfo.
LineNumber
;
System\Xml\Core\XmlAsyncCheckReader.cs (1)
827
return readerAsIXmlLineInfo.
LineNumber
;
System\Xml\Core\XmlReader.cs (1)
1384
lineArgs[0] = lineInfo.
LineNumber
.ToString(CultureInfo.InvariantCulture);
System\Xml\Core\XmlSubtreeReader.cs (1)
985
return lineInfo.
LineNumber
;
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
662
return ((IXmlLineInfo)coreReader).
LineNumber
;
System\Xml\Core\XmlWrappingReader.cs (1)
133
return ( readerAsIXmlLineInfo == null ) ? 0 : readerAsIXmlLineInfo.
LineNumber
;
System\Xml\Core\XsdValidatingReader.cs (1)
1477
return lineInfo.
LineNumber
;
System\Xml\IXmlLineInfo.cs (1)
49
return lineInfo.
LineNumber
;
System\Xml\Schema\XmlSchemaValidator.cs (10)
1056
CompleteValidationError(context, eventHandler, nsResolver, sourceUriString, positionInfo.
LineNumber
, positionInfo.LinePosition, schemaSet);
1177
ElementValidationError(elementName, context, eventHandler, nsResolver, sourceUriString, positionInfo.
LineNumber
, positionInfo.LinePosition, schemaSet);
1608
idRefListHead = new IdRefNode(idRefListHead, name, positionInfo.
LineNumber
, positionInfo.LinePosition);
1879
constraintStructures[j].axisSelector.PushKS(positionInfo.
LineNumber
, positionInfo.LinePosition);
2332
SendValidationEvent(new XmlSchemaValidationException(code, args, sourceUriString, positionInfo.
LineNumber
, positionInfo.LinePosition));
2336
SendValidationEvent(new XmlSchemaValidationException(code, arg, sourceUriString, positionInfo.
LineNumber
, positionInfo.LinePosition));
2340
SendValidationEvent(new XmlSchemaValidationException(code, new string[] { arg1, arg2 }, sourceUriString, positionInfo.
LineNumber
, positionInfo.LinePosition));
2345
SendValidationEvent(new XmlSchemaValidationException(code, args, innerException, sourceUriString, positionInfo.
LineNumber
, positionInfo.LinePosition), severity);
2350
SendValidationEvent(new XmlSchemaValidationException(code, args, innerException, sourceUriString, positionInfo.
LineNumber
, positionInfo.LinePosition), XmlSeverityType.Error);
2363
SendValidationEvent(new XmlSchemaValidationException(code, msg, sourceUriString, positionInfo.
LineNumber
, positionInfo.LinePosition), severity);
System\Xml\Serialization\XmlCountingReader.cs (1)
407
return (iXmlLineInfo == null) ? 0 : iXmlLineInfo.
LineNumber
;
System\Xml\Serialization\XmlSerializationReader.cs (1)
1214
lineNumber = lineInfo.
LineNumber
;
System\Xml\Serialization\XmlSerializer.cs (1)
432
throw new InvalidOperationException(Res.GetString(Res.XmlSerializeErrorDetails, lineInfo.
LineNumber
.ToString(CultureInfo.InvariantCulture), lineInfo.LinePosition.ToString(CultureInfo.InvariantCulture)), e);
System\Xml\XmlException.cs (2)
133
this(res, new string[] { arg }, innerException, (lineInfo == null ? 0 : lineInfo.
LineNumber
), (lineInfo == null ? 0 : lineInfo.LinePosition), null) {}
142
this (res, args, null, (lineInfo == null ? 0 : lineInfo.
LineNumber
), (lineInfo == null ? 0 : lineInfo.LinePosition), sourceUri) {
System.Xml.Linq (9)
System\Xml\Linq\XLinq.cs (8)
3109
e.SetLineInfo(li.
LineNumber
, li.LinePosition);
3115
a.SetLineInfo(li.
LineNumber
, li.LinePosition);
3139
e.SetEndElementLineInfo(li.
LineNumber
, li.LinePosition);
3189
n.SetLineInfo(li.
LineNumber
, li.LinePosition);
5079
SetLineInfo(li.
LineNumber
, li.LinePosition);
5086
a.SetLineInfo(li.
LineNumber
, li.LinePosition);
5725
d.SetLineInfo(li.
LineNumber
, li.LinePosition);
8889
return li.
LineNumber
;
System\Xml\Linq\XNodeNavigator.cs (1)
635
return li.
LineNumber
;
WindowsBase (2)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
1482
throw new XmlException(string.Format(CultureInfo.InvariantCulture, message, args), null, info == null ? 1 : info.
LineNumber
,
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
177
return ( _readerAsIXmlLineInfo == null ) ? 0 : _readerAsIXmlLineInfo.
LineNumber
;