1 write to _document
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
70_document = document;
19 references to _document
Microsoft.CodeAnalysis.CodeStyle.Fixes (19)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (19)
153TypeToGenerateIn, _document.Project.Solution, cancellationToken) as INamedTypeSymbol; 162return CanGenerateLocal() || CodeGenerator.CanAdd(_document.Project.Solution, TypeToGenerateIn, cancellationToken); 190_document, propertyDeclaration, cancellationToken, 206var semanticModel = _document.SemanticModel; 233_document, simpleName, cancellationToken, 251var syntaxFacts = _document.Document.GetLanguageService<ISyntaxFactsService>(); 262var semanticModel = _document.SemanticModel; 284if (!TryDetermineTypeToGenerateIn(_document, ContainingType, SimpleNameOrMemberAccessExpressionOpt, cancellationToken, 296var semanticFacts = _document.Document.GetLanguageService<ISemanticFactsService>(); 306IsInSourceGeneratedDocument = _document.Document is SourceGeneratedDocument; 327var syntaxFacts = _document.Document.GetLanguageService<ISyntaxFactsService>(); 366var syntaxFacts = _document.Document.GetLanguageService<ISyntaxFactsService>(); 378var symbol = _document.SemanticModel.GetSymbolInfo(left, cancellationToken).Symbol; 428var typeInference = _document.Document.GetLanguageService<ITypeInferenceService>(); 430_document.SemanticModel, SimpleNameOrMemberAccessExpressionOpt, objectAsDefault: true, 438var syntaxKinds = _document.Document.GetRequiredLanguageService<ISyntaxKindsService>(); 443var compilation = _document.SemanticModel.Compilation; 474var enclosingMethodSymbol = _document.SemanticModel.GetEnclosingSymbol<IMethodSymbol>(SimpleNameOrMemberAccessExpressionOpt.SpanStart, cancellationToken); 497var syntaxFacts = _document.Document.GetRequiredLanguageService<ISyntaxFactsService>();