5 references to CancellationToken
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
50
var diagnostics = context.Compilation.GetDeclarationDiagnostics(cancellationToken: context.
CancellationToken
);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (2)
129
var tree = compilation.SyntaxTrees.FirstOrDefault(tree => !GeneratedCodeUtilities.IsGeneratedCode(tree, IsRegularCommentOrDocComment, context.
CancellationToken
));
133
if (ShouldSkipAnalysis(tree, context.Options, compilation.Options, notification: null, context.
CancellationToken
))
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (2)
129
var tree = compilation.SyntaxTrees.FirstOrDefault(tree => !GeneratedCodeUtilities.IsGeneratedCode(tree, IsRegularCommentOrDocComment, context.
CancellationToken
));
133
if (ShouldSkipAnalysis(tree, context.Options, compilation.Options, notification: null, context.
CancellationToken
))