9 references to ConstructorCandidate
Microsoft.CodeAnalysis.Features (9)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.AddConstructorParametersCodeAction.cs (3)
26
ConstructorCandidate
constructorCandidate,
33
private readonly
ConstructorCandidate
_constructorCandidate = constructorCandidate;
69
private IEnumerable<SyntaxNode> CreateAssignStatements(
ConstructorCandidate
constructorCandidate)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.cs (2)
119
foreach (
var
constructorCandidate in state.ConstructorCandidates)
146
static AddConstructorParametersCodeAction GetOptionalContructorParametersCodeAction(Document document, CodeGenerationContextInfo info,
ConstructorCandidate
constructorCandidate, INamedTypeSymbol containingType, bool useSubMenuName)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.State.cs (4)
22
public ImmutableArray<
ConstructorCandidate
> ConstructorCandidates { get; private set; }
75
private static async Task<ImmutableArray<
ConstructorCandidate
>> GetConstructorCandidatesInfoAsync(
82
using var _ = ArrayBuilder<
ConstructorCandidate
>.GetInstance(out var applicableConstructors);
120
private static
ConstructorCandidate
CreateConstructorCandidate(ImmutableArray<IParameterSymbol> parametersForSelectedMembers, ImmutableArray<ISymbol> selectedMembers, IMethodSymbol constructor)