1 write to PreContextCode
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (1)
160
frame.
PreContextCode
= codeBlock.Take(errorStartLineNumberInArray).ToArray();
4 references to PreContextCode
Microsoft.AspNetCore.Diagnostics (4)
DeveloperExceptionPage\Views\CompilationErrorPage.Designer.cs (2)
464
if (frame.
PreContextCode
.Any())
483
foreach (var line in frame.
PreContextCode
)
DeveloperExceptionPage\Views\ErrorPage.Designer.cs (2)
683
if (frame.
PreContextCode
.Any())
702
foreach (var line in frame.
PreContextCode
)