3 writes to FileName
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (3)
38FileName = fileName; 45FileName = fileName; 103FileName = info.GetString("FileNotFound_FileName");
12 references to FileName
Aspire.Hosting.Tests (1)
PathLookupHelperTests.cs (1)
35Assert.Equal("missing-command", exception.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 application is referencing the assemblies and that they are present in the output folder.");
Microsoft.Build.Tasks.Core (1)
SignFile.cs (1)
75Log.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\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (6)
62if ((FileName == null) && 65else if (FileName != null) 66_message = FileLoadException.FormatFileLoadExceptionMessage(FileName, HResult); 78if (!string.IsNullOrEmpty(FileName)) 79s += Environment.NewLineConst + SR.Format(SR.IO_FileName_Name, FileName); 113info.AddValue("FileNotFound_FileName", FileName, typeof(string));