1 write to _document
Microsoft.CodeAnalysis.Features (1)
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeAction.cs (1)
51_document = document;
18 references to _document
Microsoft.CodeAnalysis.Features (18)
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeAction.cs (18)
90var info = await _document.GetCodeGenerationInfoAsync(CodeGenerationContext.Default, _fallbackOptions, cancellationToken).ConfigureAwait(false); 91var formattingOptions = await _document.GetSyntaxFormattingOptionsAsync(_fallbackOptions, cancellationToken).ConfigureAwait(false); 97var generator = _document.GetRequiredLanguageService<SyntaxGenerator>(); 106var service = _document.GetRequiredLanguageService<IGenerateEqualsAndGetHashCodeService>(); 118var semanticModel = await _document.GetRequiredSemanticModelAsync(cancellationToken).ConfigureAwait(false); 134var oldRoot = await _document.GetRequiredSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 135var newDocument = _document.WithSyntaxRoot(oldRoot.ReplaceNode(oldType, newType)); 136var addImportOptions = await _document.GetAddImportPlacementOptionsAsync(_fallbackOptions, cancellationToken).ConfigureAwait(false); 144var compilation = await _document.Project.GetRequiredCompilationAsync(cancellationToken).ConfigureAwait(false); 146var generator = _document.GetRequiredLanguageService<SyntaxGenerator>(); 147var generatorInternal = _document.GetRequiredLanguageService<SyntaxGeneratorInternal>(); 206var service = _document.GetRequiredLanguageService<IGenerateEqualsAndGetHashCodeService>(); 207return service.GenerateGetHashCodeMethodAsync(_document, _containingType, _selectedMembers, cancellationToken); 212var service = _document.GetRequiredLanguageService<IGenerateEqualsAndGetHashCodeService>(); 214? service.GenerateEqualsMethodThroughIEquatableEqualsAsync(_document, _containingType, cancellationToken) 215: service.GenerateEqualsMethodAsync(_document, _containingType, _selectedMembers, cancellationToken); 220var service = _document.GetRequiredLanguageService<IGenerateEqualsAndGetHashCodeService>(); 222_document, _containingType, _selectedMembers, constructedEquatableType, cancellationToken).ConfigureAwait(false);