1 write to _cancellationToken
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Simplification\VisualBasicSimplificationService.Expander.vb (1)
34
_cancellationToken
= cancellationToken
20 references to _cancellationToken
Microsoft.CodeAnalysis.VisualBasic.Workspaces (20)
Simplification\VisualBasicSimplificationService.Expander.vb (20)
50
Dim specAnalyzer = New SpeculationAnalyzer(oldExpression, expression, _semanticModel,
_cancellationToken
)
65
Dim result = expression.CastIfPossible(targetType, expression.SpanStart, semanticModel, wasCastAdded,
_cancellationToken
)
129
_cancellationToken
.ThrowIfCancellationRequested()
145
_cancellationToken
.ThrowIfCancellationRequested()
168
_cancellationToken
.ThrowIfCancellationRequested()
189
_cancellationToken
.ThrowIfCancellationRequested()
279
_cancellationToken
.ThrowIfCancellationRequested()
296
_cancellationToken
.ThrowIfCancellationRequested()
319
Dim symbol = _semanticModel.GetSymbolInfo(node.Expression,
_cancellationToken
).Symbol
322
Dim parameter = node.DetermineParameter(_semanticModel, cancellationToken:=
_cancellationToken
)
394
_cancellationToken
.ThrowIfCancellationRequested()
401
_cancellationToken
.ThrowIfCancellationRequested()
412
_cancellationToken
.ThrowIfCancellationRequested()
446
_cancellationToken
.ThrowIfCancellationRequested()
481
_cancellationToken
.ThrowIfCancellationRequested()
489
_cancellationToken
.ThrowIfCancellationRequested()
650
_semanticModel.SyntaxTree.IsNameOfContext(originalSimpleName.SpanStart,
_cancellationToken
) Then
659
If Not Equals(_semanticModel.GetEnclosingNamedType(originalSimpleName.SpanStart,
_cancellationToken
), symbol.ContainingType) Then
795
Dim type = TryCast(semanticModel.GetTypeInfo(typeOfExpression.Type,
_cancellationToken
).Type, INamedTypeSymbol)
812
_cancellationToken
.ThrowIfCancellationRequested()