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