11 references to FileNotFoundException
Microsoft.AspNetCore.StaticFiles.Tests (1)
StaticFileMiddlewareTests.cs (1)
88.ThrowsAsync(new FileNotFoundException());
Microsoft.Build.Engine.UnitTests (1)
Telemetry\OpenTelemetryManager_Tests.cs (1)
107OpenTelemetryManager.Instance.LoadFailureExceptionMessage = new System.IO.FileNotFoundException().ToString();
Microsoft.Build.Tasks.UnitTests (1)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (1)
1283throw new FileNotFoundException();
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\DebuggingSession.cs (2)
385throw new FileNotFoundException(); 395throw new FileNotFoundException();
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (1)
3727AssertEx.Equal([$"{document1.Project.FilePath}: (0,0)-(0,0): Error ENC1001: {string.Format(FeaturesResources.ErrorReadingFile, "test-pdb", new FileNotFoundException().Message)}"], InspectDiagnostics(emitDiagnostics));
Microsoft.CodeAnalysis.Test.Utilities (1)
Mocks\TestMetadataReference.cs (1)
43throw new FileNotFoundException();
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Linux\OSFileSystem.cs (1)
56throw new FileNotFoundException();
PresentationCore (1)
MS\Internal\Text\TextInterface\DWriteUtil.cs (1)
20throw new System.IO.FileNotFoundException();
System.Windows.Forms.Tests (1)
System\Windows\Forms\ClipboardTests.cs (1)
453Clipboard.SetData(format, new FileNotFoundException());
VBCSCompiler.UnitTests (1)
CompilerServerTests.cs (1)
1481throw new FileNotFoundException();