1 write to CancellationToken
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
43CancellationToken = cancellationToken;
8 references to CancellationToken
Microsoft.CodeAnalysis.Features (8)
ExtractMethod\MethodExtractor.Analyzer.cs (8)
100.FirstOrDefault(s => s.IsPrimaryConstructor(this.CancellationToken)) != null; 158var (returnType, returnsByRef) = SelectionResult.GetReturnTypeInfo(this.CancellationToken); 301var symbolInfo = semanticModel.GetSymbolInfo(token, this.CancellationToken); 445if (!isInPrimaryConstructorBaseType && symbol is IParameterSymbol parameter && parameter.IsPrimaryConstructor(this.CancellationToken)) 547this.SemanticFacts, this.SemanticModel, selectionOperation, symbol, analysisRange, includeDeclaration: false, this.CancellationToken) == false) 651return tokens.Any(t => semanticFacts.IsWrittenTo(this.SemanticModel, t.Parent, this.CancellationToken)); 669return type.Equals(SelectionResult.GetReturnType(this.CancellationToken)); 883if (tokens.All(t => !semanticFacts.IsWrittenTo(this.SemanticModel, t.Parent, CancellationToken)))