6 references to IsCurrentOperationBeingCancelled
Microsoft.CodeAnalysis (6)
SourceGeneration\Nodes\SyntaxReceiverStrategy.cs (1)
90
catch (Exception e) when (!ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, cancellationToken))
SourceGeneration\Nodes\TransformNode.cs (1)
87
catch (Exception e) when (_wrapUserFunc && !ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, cancellationToken))
SourceGeneration\UserFunction.cs (3)
71
catch (Exception e) when (catchAnalyzerExceptions && !ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, token))
91
catch (Exception e) when (catchAnalyzerExceptions && !ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, token))
106
catch (Exception e) when (catchAnalyzerExceptions && !ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, token))
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
148
if (ExceptionUtilities.
IsCurrentOperationBeingCancelled
(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)