1 write to CancellationToken
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
44CancellationToken = cancellationToken;
8 references to CancellationToken
Microsoft.CodeAnalysis.Features (8)
ExtractMethod\MethodExtractor.Analyzer.cs (8)
101.FirstOrDefault(s => s.IsPrimaryConstructor(this.CancellationToken)) != null; 159var (returnType, returnsByRef) = SelectionResult.GetReturnTypeInfo(this.CancellationToken); 302var symbolInfo = semanticModel.GetSymbolInfo(token, this.CancellationToken); 446if (!isInPrimaryConstructorBaseType && symbol is IParameterSymbol parameter && parameter.IsPrimaryConstructor(this.CancellationToken)) 548this.SemanticFacts, this.SemanticModel, selectionOperation, symbol, analysisRange, includeDeclaration: false, this.CancellationToken) == false) 652return tokens.Any(t => semanticFacts.IsWrittenTo(this.SemanticModel, t.Parent, this.CancellationToken)); 670return type.Equals(SelectionResult.GetReturnType(this.CancellationToken)); 884if (tokens.All(t => !semanticFacts.IsWrittenTo(this.SemanticModel, t.Parent, CancellationToken)))