1 write to _state
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.CodeAction.cs (1)
36
_state
= state;
13 references to _state
Microsoft.CodeAnalysis.CodeStyle.Fixes (13)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.CodeAction.cs (13)
57
return _service.GetImplicitConversionDisplayText(
_state
);
59
return _service.GetExplicitConversionDisplayText(
_state
);
67
var syntaxFactory = _document.Project.Solution.Services.GetLanguageServices(
_state
.TypeToGenerateIn.Language).GetService<SyntaxGenerator>();
71
var property = await
_state
.SignatureInfo.GeneratePropertyAsync(syntaxFactory, _isAbstract,
_state
.IsWrittenTo, cancellationToken).ConfigureAwait(false);
77
afterThisLocation:
_state
.IdentifierToken.GetLocation(),
78
generateMethodBodies:
_state
.TypeToGenerateIn.TypeKind != TypeKind.Interface)),
79
_state
.TypeToGenerateIn,
87
var method = await
_state
.SignatureInfo.GenerateMethodAsync(syntaxFactory, _isAbstract, cancellationToken).ConfigureAwait(false);
93
afterThisLocation:
_state
.Location,
94
generateMethodBodies:
_state
.TypeToGenerateIn.TypeKind != TypeKind.Interface)),
95
_state
.TypeToGenerateIn,
108
return GetDisplayText(
_state
, _isAbstract, _generateProperty);