8 references to InitializeParameterHelpers
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
src\Analyzers\CSharp\CodeFixes\AddParameter\CSharpAddParameterCodeFixProvider.cs (1)
53
=>
InitializeParameterHelpers
.GetArgument(argument);
src\Analyzers\CSharp\CodeFixes\GenerateConstructor\CSharpGenerateConstructorService.cs (1)
71
=> arguments.SelectAsArray(
InitializeParameterHelpers
.GetArgument);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\CSharpInitializeParameterService.cs (6)
26
=>
InitializeParameterHelpers
.GetAccessorBody(accessor, cancellationToken);
29
=>
InitializeParameterHelpers
.IsFunctionDeclaration(node);
32
=>
InitializeParameterHelpers
.GetBody(methodNode);
35
=>
InitializeParameterHelpers
.TryGetLastStatement(blockStatement);
38
=>
InitializeParameterHelpers
.InsertStatement(editor, functionDeclaration, returnsVoid, statementToAddAfter, statement);
110
=>
InitializeParameterHelpers
.AddAssignmentForPrimaryConstructorAsync(document, parameter, fieldOrProperty, cancellationToken);