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