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