1 write to PreContextLine
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (1)
159
frame.
PreContextLine
= preErrorLineNumberInFile;
6 references to PreContextLine
Microsoft.AspNetCore.Diagnostics (2)
DeveloperExceptionPage\Views\CompilationErrorPage.Designer.cs (1)
474
WriteAttributeValue("", 7726, frame.
PreContextLine
, 7726, 21, false);
DeveloperExceptionPage\Views\ErrorPage.Designer.cs (1)
693
WriteAttributeValue("", 9883, frame.
PreContextLine
, 9883, 21, false);
Microsoft.AspNetCore.Diagnostics.Tests (4)
ExceptionDetailsProviderTest.cs (4)
71
Assert.Equal(4, stackFrame.
PreContextLine
);
95
Assert.Equal(4, stackFrame.
PreContextLine
);
121
Assert.Equal(4, stackFrame.
PreContextLine
);
266
Assert.Equal(errorData.ExpectedPreContextLine, stackFrame.
PreContextLine
);