1 write to _cancellationToken
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\CSharpSimplificationService.Expander.cs (1)
62
_cancellationToken
= cancellationToken;
14 references to _cancellationToken
Microsoft.CodeAnalysis.CSharp.Workspaces (14)
Simplification\CSharpSimplificationService.Expander.cs (14)
93
=> new(expression, newExpression, _semanticModel,
_cancellationToken
);
101
var result = speculatedExpression.CastIfPossible(targetType, speculatedExpression.SpanStart, speculativeSemanticModel,
_cancellationToken
);
178
.Select(p => _semanticModel.GetDeclaredSymbol(p,
_cancellationToken
))
249
_cancellationToken
.ThrowIfCancellationRequested();
346
_cancellationToken
.ThrowIfCancellationRequested();
384
_cancellationToken
.ThrowIfCancellationRequested();
393
_cancellationToken
.ThrowIfCancellationRequested();
421
_cancellationToken
.ThrowIfCancellationRequested();
430
_cancellationToken
.ThrowIfCancellationRequested();
439
_cancellationToken
.ThrowIfCancellationRequested();
457
var aliasInfo = _semanticModel.GetAliasInfo(originalSimpleName,
_cancellationToken
);
673
_semanticModel.SyntaxTree.IsNameOfContext(originalSimpleName.SpanStart, _semanticModel,
_cancellationToken
))
691
if (!Equals(_semanticModel.GetEnclosingNamedType(originalSimpleName.SpanStart,
_cancellationToken
), symbol.ContainingType))
1025
var type = semanticModel.GetTypeInfo(typeOfExpression.Type,
_cancellationToken
).Type as INamedTypeSymbol;