9 references to ExtractTypeHelpers
Microsoft.CodeAnalysis.Features (9)
ExtractClass\ExtractClassWithDialogCodeAction.cs (3)
85
typeParameters:
ExtractTypeHelpers
.GetRequiredTypeParametersForMembers(_selectedType, extractClassOptions.MemberAnalysisResults.Select(m => m.Member)));
95
? await
ExtractTypeHelpers
.AddTypeToExistingFileAsync(
100
: await
ExtractTypeHelpers
.AddTypeToNewFileAsync(
ExtractInterface\AbstractExtractInterfaceService.cs (4)
147
typeParameters:
ExtractTypeHelpers
.GetRequiredTypeParametersForMembers(refactoringResult.TypeToExtractFrom, extractInterfaceOptions.IncludedMembers),
185
var (unformattedInterfaceDocument, _) = await
ExtractTypeHelpers
.AddTypeToNewFileAsync(
229
var (documentWithInterface, _) = await
ExtractTypeHelpers
.AddTypeToExistingFileAsync(
268
var generatedNameTypeParameterSuffix =
ExtractTypeHelpers
.GetTypeParameterSuffix(document, formattingOptions, type, extractableMembers, cancellationToken);
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (2)
87
var typeParameters =
ExtractTypeHelpers
.GetRequiredTypeParametersForMembers(_selectedType, moveOptions.SelectedMembers);
102
var (newDoc, annotation) = await
ExtractTypeHelpers
.AddTypeToNewFileAsync(