1 write to _service
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
65_service = service;
15 references to _service
Microsoft.CodeAnalysis.CodeStyle.Fixes (15)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (15)
97if (_service.IsConstructorInitializerGeneration(_document, node, cancellationToken)) 102else if (_service.IsSimpleNameGeneration(_document, node, cancellationToken)) 107else if (_service.IsImplicitObjectCreation(_document, node, cancellationToken)) 130IsContainedInUnsafeType = _service.ContainingTypesOrSelfHasUnsafeKeyword(TypeToGenerateIn); 146return _service.GenerateParameterNames(_document, arguments, typeParametersNames, _parameterNamingRule, cancellationToken); 166var remainingParameterNames = _service.GenerateParameterNames( 231!_service.WillCauseConstructorCycle(this, _document, constructor, cancellationToken)) 284var allTypes = _arguments.Select(a => _service.GetArgumentType(_document.SemanticModel, a, cancellationToken)); 300if (_service.TryInitializeConstructorInitializerGeneration( 318if (_service.TryInitializeImplicitObjectCreation( 337if (_service.TryInitializeSimpleNameGenerationState( 344else if (_service.TryInitializeSimpleAttributeNameGenerationState( 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);