1 write to File
Microsoft.AspNetCore.Hosting (1)
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (1)
100
File
= filePath,
10 references to File
Microsoft.AspNetCore.Hosting (10)
src\Shared\ErrorPage\ErrorPage.Designer.cs (6)
321
if (!string.IsNullOrEmpty(location) && firstFrame != null && !string.IsNullOrEmpty(firstFrame.
File
))
339
WriteAttributeValue("", 4872, firstFrame.
File
, 4872, 16, false);
348
Write(System.IO.Path.GetFileName(firstFrame.
File
));
504
if (string.IsNullOrEmpty(frame.
File
))
540
WriteAttributeValue("", 7223, frame.
File
, 7223, 11, false);
549
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
);