2 writes to File
Microsoft.AspNetCore.Diagnostics (2)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
317File = compilationFailure.SourceFilePath,
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (1)
100File = filePath,
11 references to File
Microsoft.AspNetCore.Diagnostics (11)
DeveloperExceptionPage\Views\CompilationErrorPage.Designer.cs (1)
349var fileName = errorDetail.StackFrames.FirstOrDefault()?.File;
DeveloperExceptionPage\Views\ErrorPage.Designer.cs (6)
375if (!string.IsNullOrEmpty(location) && firstFrame != null && !string.IsNullOrEmpty(firstFrame.File)) 393WriteAttributeValue("", 6652, firstFrame.File, 6652, 16, false); 402Write(System.IO.Path.GetFileName(firstFrame.File)); 605if (string.IsNullOrEmpty(frame.File)) 641WriteAttributeValue("", 9324, frame.File, 9324, 11, false); 650Write(System.IO.Path.GetFileName(frame.File));
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (4)
104if (string.IsNullOrEmpty(stackFrame.File)) 110if (File.Exists(stackFrame.File)) 112lines = File.ReadLines(stackFrame.File); 117var fileInfo = _fileProvider.GetFileInfo(stackFrame.File);