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