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