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); 101var 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(); 457var aliasInfo = _semanticModel.GetAliasInfo(originalSimpleName, _cancellationToken); 673_semanticModel.SyntaxTree.IsNameOfContext(originalSimpleName.SpanStart, _semanticModel, _cancellationToken)) 691if (!Equals(_semanticModel.GetEnclosingNamedType(originalSimpleName.SpanStart, _cancellationToken), symbol.ContainingType)) 1025var type = semanticModel.GetTypeInfo(typeOfExpression.Type, _cancellationToken).Type as INamedTypeSymbol;