2 writes to CancellationToken
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (2)
50
CancellationToken
= cancellationToken;
57
CancellationToken
= default;
6 references to CancellationToken
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (2)
45
var result = Resolve(semanticModel, syntaxTree.GetRoot(reader.
CancellationToken
), name, target, reader.
CancellationToken
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (2)
54
var root = syntaxTree.GetRoot(reader.
CancellationToken
);
57
var symbol = semanticModel.GetSymbolInfo(node, reader.
CancellationToken
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
133
var cancellationToken = reader.
CancellationToken
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
211
CancellationToken
.ThrowIfCancellationRequested();