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