6 references to IsCurrentOperationBeingCancelled
Microsoft.CodeAnalysis (6)
InternalUtilities\FatalError.cs (1)
142
if (ExceptionUtilities.
IsCurrentOperationBeingCancelled
(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)
SourceGeneration\Nodes\SyntaxReceiverStrategy.cs (1)
85
catch (Exception e) when (!ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, cancellationToken))
SourceGeneration\Nodes\TransformNode.cs (1)
85
catch (Exception e) when (_wrapUserFunc && !ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, cancellationToken))
SourceGeneration\UserFunction.cs (3)
68
catch (Exception e) when (catchAnalyzerExceptions && !ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, token))
88
catch (Exception e) when (catchAnalyzerExceptions && !ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, token))
103
catch (Exception e) when (catchAnalyzerExceptions && !ExceptionUtilities.
IsCurrentOperationBeingCancelled
(e, token))