9 references to ExtractTypeHelpers
Microsoft.CodeAnalysis.Features (9)
ExtractClass\ExtractClassWithDialogCodeAction.cs (3)
88
typeParameters:
ExtractTypeHelpers
.GetRequiredTypeParametersForMembers(_selectedType, extractClassOptions.MemberAnalysisResults.Select(m => m.Member)));
98
? await
ExtractTypeHelpers
.AddTypeToExistingFileAsync(
103
: await
ExtractTypeHelpers
.AddTypeToNewFileAsync(
ExtractInterface\AbstractExtractInterfaceService.cs (4)
148
typeParameters:
ExtractTypeHelpers
.GetRequiredTypeParametersForMembers(refactoringResult.TypeToExtractFrom, extractInterfaceOptions.IncludedMembers),
186
var (unformattedInterfaceDocument, _) = await
ExtractTypeHelpers
.AddTypeToNewFileAsync(
230
var (documentWithInterface, _) = await
ExtractTypeHelpers
.AddTypeToExistingFileAsync(
269
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(