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