1 write to _document
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
66_document = document;
22 references to _document
Microsoft.CodeAnalysis.Features (22)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (22)
97if (_service.IsConstructorInitializerGeneration(_document, node, cancellationToken)) 102else if (_service.IsSimpleNameGeneration(_document, node, cancellationToken)) 107else if (_service.IsImplicitObjectCreation(_document, node, cancellationToken)) 118if (!CodeGenerator.CanAdd(_document.Project.Solution, TypeToGenerateIn, cancellationToken)) 146return _service.GenerateParameterNames(_document, arguments, typeParametersNames, _parameterNamingRule, cancellationToken); 167_document, remainingArguments, 230if (GenerateConstructorHelpers.CanDelegateTo(_document, parameters, expressions, constructor) && 231!_service.WillCauseConstructorCycle(this, _document, constructor, cancellationToken)) 241=> _document.Project.Solution.Workspace.Services.GetExtendedLanguageServices(language).GetRequiredService<TLanguageService>(); 283var semanticModel = _document.SemanticModel; 284var allTypes = _arguments.Select(a => _service.GetArgumentType(_document.SemanticModel, a, cancellationToken)); 301_document, constructorInitializer, cancellationToken, 308var semanticInfo = _document.SemanticModel.GetSymbolInfo(constructorInitializer, cancellationToken); 319_document, implicitObjectCreation, cancellationToken, 325var semanticInfo = _document.SemanticModel.GetSymbolInfo(implicitObjectCreation, cancellationToken); 338_document, simpleName, cancellationToken, 345_document, simpleName, cancellationToken, out token, out arguments, out typeToGenerateIn)) 402var definition = await SymbolFinder.FindSourceDefinitionAsync(original, _document.Project.Solution, cancellationToken).ConfigureAwait(false); 471where ignoreAccessibility || IsSymbolAccessible(m, _document) 488var baseName = _service.GenerateNameForArgument(_document.SemanticModel, argument, cancellationToken); 549_service.IsConversionImplicit(_document.SemanticModel.Compilation, parameterType, field.Type); 556_service.IsConversionImplicit(_document.SemanticModel.Compilation, parameterType, property.Type);