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)
97
if (
_service
.IsConstructorInitializerGeneration(_document, node, cancellationToken))
102
else if (
_service
.IsSimpleNameGeneration(_document, node, cancellationToken))
107
else if (
_service
.IsImplicitObjectCreation(_document, node, cancellationToken))
130
IsContainedInUnsafeType =
_service
.ContainingTypesOrSelfHasUnsafeKeyword(TypeToGenerateIn);
146
return
_service
.GenerateParameterNames(_document, arguments, typeParametersNames, _parameterNamingRule, cancellationToken);
166
var remainingParameterNames =
_service
.GenerateParameterNames(
231
!
_service
.WillCauseConstructorCycle(this, _document, constructor, cancellationToken))
284
var allTypes = _arguments.Select(a =>
_service
.GetArgumentType(_document.SemanticModel, a, cancellationToken));
300
if (
_service
.TryInitializeConstructorInitializerGeneration(
318
if (
_service
.TryInitializeImplicitObjectCreation(
337
if (
_service
.TryInitializeSimpleNameGenerationState(
344
else if (
_service
.TryInitializeSimpleAttributeNameGenerationState(
488
var 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);