Skip to content

Commit c9b9e04

Browse files
committed
Merge pull request #4787 from amcasey/CanceledWatson
Stop reporting fatal error on OperationCanceledException
2 parents 41a4f69 + fe61bf2 commit c9b9e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ private Task CompileNamedTypeAsTask(NamedTypeSymbol symbol)
321321
{
322322
CompileNamedType(symbol);
323323
}
324-
catch (Exception e) when (FatalError.Report(e))
324+
catch (Exception e) when (FatalError.ReportUnlessCanceled(e))
325325
{
326326
throw ExceptionUtilities.Unreachable;
327327
}

0 commit comments

Comments
 (0)