4 writes to FileName
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (3)
38FileName = fileName; 45FileName = fileName; 99FileName = info.GetString("FileNotFound_FileName");
src\System\IO\FileNotFoundException.CoreCLR.cs (1)
13FileName = fileName;
13 references to FileName
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\LazyAssemblyLoader.cs (1)
61throw new InvalidOperationException($"Unable to find the following assembly: {ex.FileName}. Make sure that the appplication is referencing the assemblies and that they are present in the output folder.");
Microsoft.AspNetCore.Http.Results.Tests (1)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
482Assert.Equal(path, ex.FileName);
Microsoft.AspNetCore.Mvc.Core.Test (1)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
482Assert.Equal(path, ex.FileName);
Microsoft.Build.Tasks.Core (1)
SignFile.cs (1)
69Log.LogErrorWithCodeFromResources("SignFile.TargetFileNotFound", ex.FileName);
Microsoft.CodeAnalysis (1)
MetadataReference\PortableExecutableReference.cs (1)
197return messageProvider.CreateDiagnostic(messageProvider.ERR_MetadataFileNotFound, location, fileNotFound.FileName ?? string.Empty);
Microsoft.DotNet.XliffTasks (1)
Tasks\UpdateXlf.cs (1)
46catch (FileNotFoundException fileNotFoundEx) when (fileNotFoundEx.FileName == xlfPath)
System.Net.Sockets (1)
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (1)
277string? dirname = Path.GetDirectoryName(fnfe.FileName);
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (6)
62if ((FileName == null) && 65else if (FileName != null) 66_message = FileLoadException.FormatFileLoadExceptionMessage(FileName, HResult); 77if (!string.IsNullOrEmpty(FileName)) 78s += Environment.NewLineConst + SR.Format(SR.IO_FileName_Name, FileName); 108info.AddValue("FileNotFound_FileName", FileName, typeof(string));