33 references to IOException
InMemory.FunctionalTests (1)
Http2\Http2ConnectionTests.cs (1)
5318var ioException = new IOException();
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTokenStoreTest.cs (1)
296var ioException = new IOException();
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
894mockStream.Setup(m => m.CopyToAsync(It.IsAny<Stream>(), It.IsAny<int>(), It.IsAny<CancellationToken>())).Throws(new IOException());
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (1)
927var ioException = new IOException();
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (1)
478var ioException = new IOException();
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\FormFileValueProviderFactoryTest.cs (1)
78var exception = new IOException();
ModelBinding\FormValueProviderFactoryTest.cs (1)
66var exception = new IOException();
ModelBinding\JQueryFormValueProviderFactoryTest.cs (1)
151var exception = new IOException();
Microsoft.Build (1)
InterningBinaryReader.cs (1)
95throw new IOException();
Microsoft.Build.Tasks.Core (1)
InterningBinaryReader.cs (1)
95throw new IOException();
Microsoft.Build.Tasks.UnitTests (1)
Touch_Tests.cs (1)
153throw new IOException();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
9094throw new IOException(); 9120throw new IOException(); 9145throw new IOException();
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
5218var ioExceptionMessage = new IOException().Message;
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\ThrowingStrongNameFileSystem.cs (2)
20internal override bool FileExists(string fullPath) => throw new IOException(); 22internal override byte[] ReadAllBytes(string fullPath) => throw new IOException();
Mocks\TestSourceReferenceResolver.cs (1)
56throw new IOException();
Pe\BrokenStream.cs (2)
82ThrownException = new IOException(); 91ThrownException = new IOException();
Microsoft.CodeAnalysis.UnitTests (4)
EmbeddedTextTests.cs (1)
301throw new IOException();
InternalUtilities\StreamExtensionsTests.cs (3)
48var stream = new TestStream(readFunc: (_1, _2, _3) => { throw new IOException(); }); 78throw new IOException(); 104throw new IOException();
Microsoft.ML.Core (2)
Utilities\Contracts.cs (2)
394=> Process(new IOException()); 396=> Process(new IOException(), ctx);
Microsoft.ML.CpuMath (2)
src\Microsoft.ML.Core\Utilities\Contracts.cs (2)
394=> Process(new IOException()); 396=> Process(new IOException(), ctx);
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
SymbolSearch\SymbolSearchUpdateEngineTests.vb (1)
365Throws(New IOException())
MSBuild (1)
InterningBinaryReader.cs (1)
95throw new IOException();
MSBuildTaskHost (1)
InterningBinaryReader.cs (1)
95throw new IOException();
System.ServiceModel.NetNamedPipe (1)
System\IO\PipeException.cs (1)
12: base()
System.Windows.Forms.Design.Tests (1)
System\Drawing\Design\ToolboxItemTests.cs (1)
1234throw new IOException();