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