4 writes to LinePosition
System.Xaml (4)
System\Xaml\XamlException.cs (4)
19LinePosition = linePosition; 28LinePosition = xex.LinePosition; 35LinePosition = linePosition; 72LinePosition = info.GetInt32("Offset");
31 references to LinePosition
PresentationFramework (1)
System\Windows\Markup\XamlReader.cs (1)
520return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException);
System.Xaml (4)
System\Xaml\XamlException.cs (4)
28LinePosition = xex.LinePosition; 44if (LinePosition != 0) 46return SR.Format(SR.LineNumberAndPosition, base.Message, LineNumber, LinePosition); 83info.AddValue("Offset", LinePosition);
System.Xaml.Tests (26)
System\Xaml\XamlDuplicateMemberExceptionTests.cs (4)
20Assert.Equal(0, exception.LinePosition); 32Assert.Equal(0, exception.LinePosition); 56Assert.Equal(0, exception.LinePosition); 76Assert.Equal(expectedLinePosition, exception.LinePosition);
System\Xaml\XamlExceptionTests.cs (4)
20Assert.Equal(0, exception.LinePosition); 30Assert.Equal(0, exception.LinePosition); 50Assert.Equal(linePosition, exception.LinePosition); 68Assert.Equal(expectedLinePosition, exception.LinePosition);
System\Xaml\XamlInternalExceptionTests.cs (3)
20Assert.Equal(0, exception.LinePosition); 30Assert.Equal(0, exception.LinePosition); 48Assert.Equal(expectedLinePosition, exception.LinePosition);
System\Xaml\XamlObjectReaderExceptionTests.cs (3)
20Assert.Equal(0, exception.LinePosition); 30Assert.Equal(0, exception.LinePosition); 48Assert.Equal(expectedLinePosition, exception.LinePosition);
System\Xaml\XamlObjectWriterExceptionTests.cs (3)
20Assert.Equal(0, exception.LinePosition); 30Assert.Equal(0, exception.LinePosition); 48Assert.Equal(expectedLinePosition, exception.LinePosition);
System\Xaml\XamlParseExceptionTests.cs (3)
20Assert.Equal(0, exception.LinePosition); 30Assert.Equal(0, exception.LinePosition); 48Assert.Equal(expectedLinePosition, exception.LinePosition);
System\Xaml\XamlSchemaExceptionTests.cs (3)
20Assert.Equal(0, exception.LinePosition); 30Assert.Equal(0, exception.LinePosition); 48Assert.Equal(expectedLinePosition, exception.LinePosition);
System\Xaml\XamlXmlWriterExceptionTests.cs (3)
20Assert.Equal(0, exception.LinePosition); 30Assert.Equal(0, exception.LinePosition); 48Assert.Equal(expectedLinePosition, exception.LinePosition);