4 writes to ThrownException
Microsoft.CodeAnalysis.Test.Utilities (4)
Pe\BrokenStream.cs (4)
62ThrownException = new NotSupportedException(); 82ThrownException = new IOException(); 91ThrownException = new IOException(); 96ThrownException = new OperationCanceledException();
8 references to ThrownException
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\CompilationEmitTests.cs (2)
5171Diagnostic(ErrorCode.ERR_PeWritingFailure).WithArguments(output.ThrownException.ToString()).WithLocation(1, 1)); 5462Diagnostic(ErrorCode.ERR_PeWritingFailure).WithArguments(broken.ThrownException.ToString()).WithLocation(1, 1));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\EditAndContinueTests.cs (2)
13085Diagnostic(ErrorCode.ERR_PeWritingFailure).WithArguments(badStream.ThrownException.ToString()).WithLocation(1, 1) 13101Diagnostic(ErrorCode.ERR_PeWritingFailure).WithArguments(badStream.ThrownException.ToString()).WithLocation(1, 1)
Microsoft.CodeAnalysis.Test.Utilities (4)
Pe\BrokenStream.cs (4)
63throw ThrownException; 83throw ThrownException; 92throw ThrownException; 97throw ThrownException;