7 implementations of LineNumber
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
234int IXamlLineInfo.LineNumber
System.Xaml (5)
System\Xaml\Context\ServiceProviderContext.cs (1)
402public int LineNumber
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
322public int LineNumber
System\Xaml\ReaderBaseDelegate.cs (1)
76public int LineNumber
System\Xaml\XamlBackgroundReader.cs (1)
322public int LineNumber
System\Xaml\XamlSubreader.cs (1)
92public int LineNumber
System.Xaml.Tests (1)
Common\SubXamlReader.cs (1)
58public int LineNumber => LineNumberResult;
30 references to LineNumber
PresentationFramework (7)
System\Windows\FrameworkTemplate.cs (1)
983lineInfoConsumer?.SetLineInfo(lineInfo.LineNumber, lineInfo.LinePosition);
System\Windows\Markup\WpfXamlLoader.cs (3)
88lineNumber = ixli.LineNumber; 187if (xamlLineInfo.LineNumber != 0) 189xamlLineInfoConsumer.SetLineInfo(xamlLineInfo.LineNumber, xamlLineInfo.LinePosition);
System\Windows\Markup\XamlReader.cs (2)
510xe.LineNumber = lineInfo.LineNumber; 527return new XamlParseException(e.Message, lineInfo.LineNumber, lineInfo.LinePosition, baseUri, baseException);
System\Windows\TemplateContent.cs (1)
375lineInfoConsumer?.SetLineInfo(lineInfo.LineNumber, lineInfo.LinePosition);
System.Xaml (5)
System\Xaml\XamlBackgroundReader.cs (2)
256if (xamlLineInfo.LineNumber != 0) 258xamlLineInfoConsumer.SetLineInfo(xamlLineInfo.LineNumber, xamlLineInfo.LinePosition);
System\Xaml\XamlServices.cs (2)
114if (xamlLineInfo.LineNumber != 0) 116xamlLineInfoConsumer.SetLineInfo(xamlLineInfo.LineNumber, xamlLineInfo.LinePosition);
System\Xaml\XamlSubreader.cs (1)
101return _lineInfoReader.LineNumber;
System.Xaml.Tests (18)
System\Xaml\XamlNodeListTests.cs (6)
464Assert.Equal(0, lineInfo.LineNumber); 477Assert.Equal(1, lineInfo.LineNumber); 496Assert.Equal(0, lineInfo.LineNumber); 504Assert.Equal(0, lineInfo.LineNumber); 522Assert.Equal(0, lineInfo.LineNumber); 530Assert.Equal(0, lineInfo.LineNumber);
System\Xaml\XamlNodeQueueTests.cs (10)
53Assert.Equal(0, reader.LineNumber); 346Assert.Equal(0, lineInfo.LineNumber); 359Assert.Equal(1, lineInfo.LineNumber); 377Assert.Equal(0, lineInfo.LineNumber); 385Assert.Equal(0, lineInfo.LineNumber); 402Assert.Equal(0, lineInfo.LineNumber); 410Assert.Equal(2, lineInfo.LineNumber); 422Assert.Equal(0, lineInfo.LineNumber); 431Assert.Equal(0, lineInfo.LineNumber); 439Assert.Equal(2, lineInfo.LineNumber);
System\Xaml\XamlReaderTests.cs (2)
94Assert.Equal(0, subReader.LineNumber); 109Assert.Equal(1, subReader.LineNumber);