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)
50Dim specAnalyzer = New SpeculationAnalyzer(oldExpression, expression, _semanticModel, _cancellationToken) 65Dim 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() 319Dim symbol = _semanticModel.GetSymbolInfo(node.Expression, _cancellationToken).Symbol 322Dim 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 659If Not Equals(_semanticModel.GetEnclosingNamedType(originalSimpleName.SpanStart, _cancellationToken), symbol.ContainingType) Then 795Dim type = TryCast(semanticModel.GetTypeInfo(typeOfExpression.Type, _cancellationToken).Type, INamedTypeSymbol) 812_cancellationToken.ThrowIfCancellationRequested()