1 write to _document
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
66_document = document;
20 references to _document
Microsoft.CodeAnalysis.Features (20)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (20)
93if (_service.IsConstructorInitializerGeneration(_document, node, cancellationToken)) 98else if (_service.IsSimpleNameGeneration(_document, node, cancellationToken)) 103else if (_service.IsImplicitObjectCreation(_document, node, cancellationToken)) 114if (!CodeGenerator.CanAdd(_document.Project.Solution, TypeToGenerateIn, cancellationToken)) 139_document, this.TypeToGenerateIn, _arguments, ParameterTypes, parameterNames, cancellationToken).ConfigureAwait(false); 145return _service.GenerateParameterNames(_document, arguments, typeParametersNames, _parameterNamingRule, cancellationToken); 168_document, remainingArguments, 183_document, this.TypeToGenerateIn, remainingArguments, remainingParameterTypes, remainingParameterNames, cancellationToken).ConfigureAwait(false); 234if (GenerateConstructorHelpers.CanDelegateTo(_document, parameters, expressions, constructor) && 235!_service.WillCauseConstructorCycle(this, _document, constructor, cancellationToken)) 245=> _document.Project.Solution.Workspace.Services.GetExtendedLanguageServices(language).GetRequiredService<TLanguageService>(); 287var semanticModel = _document.SemanticModel; 288var allTypes = _arguments.Select(a => _service.GetArgumentType(_document.SemanticModel, a, cancellationToken)); 305_document, constructorInitializer, cancellationToken, 312var semanticInfo = _document.SemanticModel.GetSymbolInfo(constructorInitializer, cancellationToken); 323_document, implicitObjectCreation, cancellationToken, 329var semanticInfo = _document.SemanticModel.GetSymbolInfo(implicitObjectCreation, cancellationToken); 342_document, simpleName, cancellationToken, 349_document, simpleName, cancellationToken, out token, out arguments, out typeToGenerateIn)) 406var definition = SymbolFinderInternal.FindSourceDefinition(original, _document.Project.Solution, cancellationToken);