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)
153
TypeToGenerateIn,
_document
.Project.Solution, cancellationToken) as INamedTypeSymbol;
162
return CanGenerateLocal() || CodeGenerator.CanAdd(
_document
.Project.Solution, TypeToGenerateIn, cancellationToken);
190
_document
, propertyDeclaration, cancellationToken,
206
var semanticModel =
_document
.SemanticModel;
233
_document
, simpleName, cancellationToken,
251
var syntaxFacts =
_document
.Document.GetLanguageService<ISyntaxFactsService>();
262
var semanticModel =
_document
.SemanticModel;
284
if (!TryDetermineTypeToGenerateIn(
_document
, ContainingType, SimpleNameOrMemberAccessExpressionOpt, cancellationToken,
296
var semanticFacts =
_document
.Document.GetLanguageService<ISemanticFactsService>();
306
IsInSourceGeneratedDocument =
_document
.Document is SourceGeneratedDocument;
327
var syntaxFacts =
_document
.Document.GetLanguageService<ISyntaxFactsService>();
366
var syntaxFacts =
_document
.Document.GetLanguageService<ISyntaxFactsService>();
378
var symbol =
_document
.SemanticModel.GetSymbolInfo(left, cancellationToken).Symbol;
428
var typeInference =
_document
.Document.GetLanguageService<ITypeInferenceService>();
430
_document
.SemanticModel, SimpleNameOrMemberAccessExpressionOpt, objectAsDefault: true,
438
var syntaxKinds =
_document
.Document.GetRequiredLanguageService<ISyntaxKindsService>();
443
var compilation =
_document
.SemanticModel.Compilation;
474
var enclosingMethodSymbol =
_document
.SemanticModel.GetEnclosingSymbol<IMethodSymbol>(SimpleNameOrMemberAccessExpressionOpt.SpanStart, cancellationToken);
497
var syntaxFacts =
_document
.Document.GetRequiredLanguageService<ISyntaxFactsService>();