77 types derived from CodeRefactoringProvider
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
CodeActions\ApplyChangesOperationTests.cs (1)
25private class MyCodeRefactoringProvider : CodeRefactoringProvider
CodeActions\Preview\ErrorCases\ExceptionInCodeAction.cs (1)
17internal class ExceptionInCodeAction : CodeRefactoringProvider
CodeActions\Preview\PreviewTests.cs (1)
48private class MyCodeRefactoringProvider : CodeRefactoringProvider
Microsoft.CodeAnalysis.CSharp.Features (12)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
29internal sealed class CSharpConvertLocalFunctionToMethodCodeRefactoringProvider : CodeRefactoringProvider
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.cs (1)
23internal partial class EnableNullableCodeRefactoringProvider : CodeRefactoringProvider
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.FixAllProvider.cs (1)
18internal partial class EnableNullableCodeRefactoringProvider : CodeRefactoringProvider
CodeRefactorings\UseExplicitOrImplicitType\AbstractUseTypeCodeRefactoringProvider.cs (1)
25internal abstract class AbstractUseTypeCodeRefactoringProvider : CodeRefactoringProvider
ConvertBetweenRegularAndVerbatimString\AbstractConvertBetweenRegularAndVerbatimStringCodeRefactoringProvider.cs (1)
21: CodeRefactoringProvider
ConvertProgram\ConvertToProgramMainCodeRefactoringProvider.cs (1)
25internal class ConvertToProgramMainCodeRefactoringProvider : CodeRefactoringProvider
ConvertProgram\ConvertToTopLevelStatementsCodeRefactoringProvider.cs (1)
25internal class ConvertToTopLevelStatementsCodeRefactoringProvider : CodeRefactoringProvider
ConvertToRecord\CSharpConvertToRecordRefactoringProvider.cs (1)
15internal sealed class CSharpConvertToRecordRefactoringProvider : CodeRefactoringProvider
ImplementInterface\AbstractChangeImplementationCodeRefactoringProvider.cs (1)
30internal abstract class AbstractChangeImplementationCodeRefactoringProvider : CodeRefactoringProvider
MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeRefactoringProvider.cs (1)
17internal sealed class MakeLocalFunctionStaticCodeRefactoringProvider : CodeRefactoringProvider
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
25internal class CSharpReverseForStatementCodeRefactoringProvider : CodeRefactoringProvider
UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeRefactoringProvider.cs (1)
24internal sealed class UseExpressionBodyForLambdaCodeRefactoringProvider : CodeRefactoringProvider
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingCodeRefactoringProvider.cs (1)
17internal class RenameTrackingCodeRefactoringProvider : CodeRefactoringProvider
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
CodeRefactorings\CodeRefactoringServiceTest.cs (3)
60internal sealed class TypeScriptCodeRefactoringProvider : CodeRefactoringProvider 125internal class StubRefactoring : CodeRefactoringProvider 241internal abstract class AbstractNonSourceFileRefactoring : CodeRefactoringProvider
CodeRefactorings\ErrorCases\CodeRefactoringExceptionInComputeRefactorings.cs (1)
18internal class ExceptionInCodeActions : CodeRefactoringProvider
CodeRefactorings\ErrorCases\CodeRefactoringExceptionInComputeRefactoringsAsync.cs (1)
18internal class ExceptionInComputeRefactoringsAsync : CodeRefactoringProvider
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
78private class TestCodeRefactoringProvider : CodeRefactorings.CodeRefactoringProvider
Microsoft.CodeAnalysis.Features (52)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
19TMethodDeclarationSyntax> : CodeRefactoringProvider
ChangeSignature\AbstractChangeSignatureCodeRefactoringProvider.cs (1)
18internal class ChangeSignatureCodeRefactoringProvider : CodeRefactoringProvider
CodeRefactorings\AddAwait\AbstractAddAwaitCodeRefactoringProvider.cs (1)
25internal abstract class AbstractAddAwaitCodeRefactoringProvider<TExpressionSyntax> : CodeRefactoringProvider
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsRefactoringProvider.cs (1)
16internal abstract class AbstractAddMissingImportsRefactoringProvider : CodeRefactoringProvider
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (1)
26internal class ExtractMethodCodeRefactoringProvider : CodeRefactoringProvider
CodeRefactorings\MoveType\MoveTypeCodeRefactoringProvider.cs (1)
14internal class MoveTypeCodeRefactoringProvider : CodeRefactoringProvider
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.cs (1)
18: CodeRefactoringProvider
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.MoveFileCodeAction.cs (1)
21: CodeRefactoringProvider
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.State.cs (1)
22: CodeRefactoringProvider
ConvertAnonymousType\AbstractConvertAnonymousTypeCodeRefactoringProvider.cs (1)
14: CodeRefactoringProvider
ConvertAutoPropertyToFullProperty\AbstractConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (1)
20internal abstract class AbstractConvertAutoPropertyToFullPropertyCodeRefactoringProvider<TPropertyDeclarationNode, TTypeDeclarationNode, TCodeGenerationContextInfo> : CodeRefactoringProvider
ConvertCast\AbstractConvertCastCodeRefactoringProvider.cs (1)
24: CodeRefactoringProvider
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
27TForEachStatement> : CodeRefactoringProvider
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
28TVariableDeclaratorSyntax> : CodeRefactoringProvider
ConvertLinq\AbstractConvertLinqQueryToForEachProvider.cs (1)
17internal abstract class AbstractConvertLinqQueryToForEachProvider<TQueryExpression, TStatement> : CodeRefactoringProvider
ConvertLinq\ConvertForEachToLinqQuery\AbstractConvertForEachToLinqQueryProvider.cs (1)
16internal abstract class AbstractConvertForEachToLinqQueryProvider<TForEachStatement, TStatement> : CodeRefactoringProvider
ConvertNumericLiteral\AbstractConvertNumericLiteralCodeRefactoringProvider.cs (1)
18internal abstract class AbstractConvertNumericLiteralCodeRefactoringProvider<TNumericLiteralExpression> : CodeRefactoringProvider where TNumericLiteralExpression : SyntaxNode
ConvertToInterpolatedString\AbstractConvertConcatenationToInterpolatedStringRefactoringProvider.cs (1)
25internal abstract class AbstractConvertConcatenationToInterpolatedStringRefactoringProvider<TExpressionSyntax> : CodeRefactoringProvider
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
29TInterpolationSyntax> : CodeRefactoringProvider
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringRefactoringProvider.cs (1)
23internal sealed class ConvertRegularStringToInterpolatedStringRefactoringProvider : CodeRefactoringProvider
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
48: CodeRefactoringProvider, IConvertTupleToStructCodeRefactoringProvider
EncapsulateField\EncapsulateFieldRefactoringProvider.cs (1)
16internal sealed class EncapsulateFieldRefactoringProvider : CodeRefactoringProvider
ExtractClass\AbstractExtractClassRefactoringProvider.cs (1)
19internal abstract class AbstractExtractClassRefactoringProvider : CodeRefactoringProvider
ExtractInterface\ExtractInterfaceCodeRefactoringProvider.cs (1)
19internal class ExtractInterfaceCodeRefactoringProvider : CodeRefactoringProvider
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
25internal class GenerateComparisonOperatorsCodeRefactoringProvider : CodeRefactoringProvider
GenerateDefaultConstructors\GenerateDefaultConstructorsCodeRefactoringProvider.cs (1)
28internal class GenerateDefaultConstructorsCodeRefactoringProvider : CodeRefactoringProvider
GenerateFromMembers\AbstractGenerateFromMembersCodeRefactoringProvider.cs (1)
21internal abstract partial class AbstractGenerateFromMembersCodeRefactoringProvider : CodeRefactoringProvider
GenerateFromMembers\AbstractGenerateFromMembersCodeRefactoringProvider.SelectedMemberInfo.cs (1)
10internal abstract partial class AbstractGenerateFromMembersCodeRefactoringProvider : CodeRefactoringProvider
GenerateOverrides\GenerateOverridesCodeRefactoringProvider.cs (1)
21internal partial class GenerateOverridesCodeRefactoringProvider : CodeRefactoringProvider
InitializeParameter\AbstractInitializeParameterCodeRefactoringProvider.cs (1)
28TExpressionSyntax> : CodeRefactoringProvider
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (1)
24: CodeRefactoringProvider
InlineTemporary\AbstractInlineTemporaryCodeRefactoringProvider.cs (1)
18TVariableDeclaratorSyntax> : CodeRefactoringProvider
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
28TIdentifierNameSyntax> : CodeRefactoringProvider
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (1)
28TTryStatementSyntax> : CodeRefactoringProvider
IntroduceVariable\AbstractIntroduceLocalForExpressionCodeRefactoringProvider.cs (1)
21TLocalDeclarationStatementSyntax> : CodeRefactoringProvider
IntroduceVariable\IntroduceVariableCodeRefactoringProvider.cs (1)
20internal class IntroduceVariableCodeRefactoringProvider : CodeRefactoringProvider
InvertConditional\AbstractInvertConditionalCodeRefactoringProvider.cs (1)
16: CodeRefactoringProvider
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
26TSyntaxKind, TStatementSyntax, TIfStatementSyntax, TEmbeddedStatement> : CodeRefactoringProvider
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
24: CodeRefactoringProvider
MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceCodeRefactoringProvider.cs (1)
16internal abstract class AbstractMoveDeclarationNearReferenceCodeRefactoringProvider<TLocalDeclaration> : CodeRefactoringProvider where TLocalDeclaration : SyntaxNode
MoveStaticMembers\AbstractMoveStaticMembersRefactoringProvider.cs (1)
18internal abstract class AbstractMoveStaticMembersRefactoringProvider : CodeRefactoringProvider
MoveToNamespace\MoveToNamespaceCodeActionProvider.cs (1)
20internal class MoveToNamespaceCodeActionProvider : CodeRefactoringProvider
NameTupleElement\AbstractNameTupleElementCodeRefactoringProvider.cs (1)
17internal abstract class AbstractNameTupleElementCodeRefactoringProvider<TArgumentSyntax, TTupleExpressionSyntax> : CodeRefactoringProvider
PullMemberUp\AbstractPullMemberUpRefactoringProvider.cs (1)
19internal abstract partial class AbstractPullMemberUpRefactoringProvider : CodeRefactoringProvider
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
31: CodeRefactoringProvider
ReplaceDocCommentTextWithTag\AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (1)
18internal abstract class AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider : CodeRefactoringProvider
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (1)
29CodeRefactoringProvider,
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (1)
30CodeRefactoringProvider,
SplitOrMergeIfStatements\AbstractMergeIfStatementsCodeRefactoringProvider.cs (1)
21internal abstract class AbstractMergeIfStatementsCodeRefactoringProvider : CodeRefactoringProvider
SplitOrMergeIfStatements\AbstractSplitIfStatementCodeRefactoringProvider.cs (1)
19internal abstract class AbstractSplitIfStatementCodeRefactoringProvider : CodeRefactoringProvider
UseNamedArguments\AbstractUseNamedArgumentsCodeRefactoringProvider.cs (1)
17internal abstract class AbstractUseNamedArgumentsCodeRefactoringProvider : CodeRefactoringProvider
Wrapping\AbstractWrappingCodeRefactoringProvider.cs (1)
26internal abstract class AbstractWrappingCodeRefactoringProvider : CodeRefactoringProvider
Microsoft.CodeAnalysis.TestAnalyzerReference (1)
NonSourceFileRefactoring.cs (1)
21public sealed class NonSourceFileRefactoring : CodeRefactoringProvider
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
CodeActions\Preview\PreviewTests.vb (1)
27Private Class MyCodeRefactoringProvider : Inherits CodeRefactoringProvider
Microsoft.CodeAnalysis.Workspaces (1)
CodeRefactorings\SyntaxEditorBasedCodeRefactoringProvider.cs (1)
17internal abstract partial class SyntaxEditorBasedCodeRefactoringProvider : CodeRefactoringProvider
216 references to CodeRefactoringProvider
AnalyzerRunner (9)
CodeRefactoringRunner.cs (9)
30private readonly ImmutableDictionary<string, ImmutableArray<CodeRefactoringProvider>> _refactorings; 87foreach (var refactoringProvider in _refactorings[document.Project.Language]) 154private static ImmutableDictionary<string, ImmutableArray<CodeRefactoringProvider>> FilterRefactorings(ImmutableDictionary<string, ImmutableArray<Lazy<CodeRefactoringProvider, CodeRefactoringProviderMetadata>>> refactorings, Options options) 161private static IEnumerable<CodeRefactoringProvider> FilterRefactorings(IEnumerable<Lazy<CodeRefactoringProvider, CodeRefactoringProviderMetadata>> refactorings, Options options) 181foreach (var refactoring in refactorings.Select(refactoring => refactoring.Value)) 200private static ImmutableDictionary<string, ImmutableArray<Lazy<CodeRefactoringProvider, CodeRefactoringProviderMetadata>>> GetCodeRefactoringProviders(string path) 231var refactorings = exportProvider.GetExports<CodeRefactoringProvider, CodeRefactoringProviderMetadata>();
BuildActionTelemetryTable (1)
Program.cs (1)
491|| typeof(CodeRefactoringProvider).IsAssignableFrom(t);
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (4)
CSharpCodeRefactoringVerifier`1.cs (1)
13where TCodeRefactoring : CodeRefactoringProvider, new()
CSharpCodeRefactoringVerifier`1+Test.cs (1)
27where TCodeRefactoring : CodeRefactoringProvider, new()
VisualBasicCodeRefactoringVerifier`1.cs (1)
13where TCodeRefactoring : CodeRefactoringProvider, new()
VisualBasicCodeRefactoringVerifier`1+Test.cs (1)
27where TCodeRefactoring : CodeRefactoringProvider, new()
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (79)
AddFileBanner\AddFileBannerTests.cs (1)
18protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ChangeSignature\ChangeSignature_Delegates.cs (1)
21protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\AddAwait\AddAwaitTests.cs (1)
18protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\ApplyChangesOperationTests.cs (2)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters) 244var provider = CreateCodeRefactoringProvider(workspace, parameters);
CodeActions\ConvertIfToSwitch\ConvertIfToSwitchFixAllTests.cs (1)
17protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\ConvertLinq\ConvertForEachToLinqQueryTests.cs (1)
18protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\ConvertLinq\ConvertLinqQueryToForEachTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\ConvertLocalFunctionToMethod\ConvertLocalFunctionToMethodTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\ConvertNumericLiteral\ConvertNumericLiteralTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\EnableNullable\EnableNullableFixAllTests.cs (1)
15protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\EncapsulateField\EncapsulateFieldTests.cs (1)
25protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\ExtractMethod\ExtractLocalFunctionTests.cs (1)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\ExtractMethod\ExtractMethodTests.cs (1)
24protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\InlineTemporary\InlineTemporaryTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\IntroduceVariable\IntroduceVariableTests.cs (1)
24protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\Preview\PreviewExceptionTests.cs (4)
68private static async Task GetPreview(TestWorkspace workspace, CodeRefactoringProvider provider) 81private static void DisplayText(TestWorkspace workspace, CodeRefactoringProvider provider) 94private static async Task ActionSets(TestWorkspace workspace, CodeRefactoringProvider provider) 108TestWorkspace workspace, CodeRefactoringProvider provider, List<CodeAction> codeActions,
CodeActions\Preview\PreviewTests.cs (2)
45protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters) 98var provider = CreateCodeRefactoringProvider(workspace, parameters);
CodeActions\ReplaceMethodWithProperty\ReplaceMethodWithPropertyTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\ReplacePropertyWithMethods\ReplacePropertyWithMethodsTests.cs (1)
23protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
31protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeRefactorings\AddMissingImports\CSharpAddMissingImportsRefactoringProviderTests.cs (1)
26protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeRefactorings\UseExplicitOrImplicitType\UseExplicitTypeRefactoringTests.cs (1)
18protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeRefactorings\UseExplicitOrImplicitType\UseImplicitTypeRefactoringTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsRefactoringFixAllTests.cs (1)
17protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertAnonymousType\ConvertAnonymousTypeToClassTests.cs (1)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertAnonymousType\ConvertAnonymousTypeToTupleTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests.cs (1)
21protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimInterpolatedStringTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimStringTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertForEachToFor\ConvertForEachToForTests.cs (1)
24protected override CodeRefactoringProvider CreateCodeRefactoringProvider(
ConvertForToForEach\ConvertForToForEachTests.cs (1)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertNamespace\ConvertNamespaceRefactoringFixAllTests.cs (1)
18protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertToInterpolatedString\ConvertPlaceholderToInterpolatedStringTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ConvertToRawString\ConvertRegularStringToRawString_FixAllTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ExtractClass\ExtractClassTests.cs (1)
40protected override IEnumerable<CodeRefactoringProvider> GetCodeRefactoringProviders()
GenerateFromMembers\GenerateConstructorFromMembers\GenerateConstructorFromMembersTests.cs (1)
23protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
GenerateOverrides\GenerateOverridesTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ImplementInterface\ImplementExplicitlyTests.cs (1)
24protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ImplementInterface\ImplementImplicitlyTests.cs (1)
26protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
InitializeParameter\InitializeMemberFromParameterTests.cs (1)
21protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
InlineMethod\CSharpInlineMethodTests_CrossLanguage.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Interactive\CodeActions\InteractiveIntroduceVariableTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
IntroduceParameter\IntroduceParameterTests.cs (1)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
IntroduceUsingStatement\IntroduceUsingStatementTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
IntroduceVariable\IntroduceLocalForExpressionTests.cs (1)
56protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
InvertConditional\InvertConditionalTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
InvertIf\InvertIfTests.cs (1)
26protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
InvertLogical\InvertLogicalTests.cs (1)
23protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
MakeLocalFunctionStatic\MakeLocalFunctionStaticRefactoringTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
MoveDeclarationNearReference\MoveDeclarationNearReferenceTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
NameTupleElement\NameTupleElementTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
PullMemberUp\CSharpPullMemberUpTests.cs (1)
30protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ReplaceDocCommentTextWithTag\ReplaceDocCommentTextWithTagTests.cs (1)
18protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
ReverseForStatement\ReverseForStatementTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
SplitOrMergeIfStatements\MergeConsecutiveIfStatementsTests_ElseIf_WithPrevious.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
SplitOrMergeIfStatements\MergeNestedIfStatementsTests_WithOuter.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
SplitOrMergeIfStatements\SplitIntoConsecutiveIfStatementsTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
SplitOrMergeIfStatements\SplitIntoNestedIfStatementsTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyFixAllTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForAccessorsRefactoringTests.cs (1)
23protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForConstructorsRefactoringTests.cs (1)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForConversionOperatorsRefactoringTests.cs (1)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForIndexersRefactoringTests.cs (1)
23protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForLocalFunctionsRefactoringTests.cs (1)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForMethodsRefactoringTests.cs (1)
21protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForOperatorsRefactoringTests.cs (1)
22protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForPropertiesRefactoringTests.cs (1)
24protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
UseExpressionBodyForLambda\UseExpressionBodyForLambdasRefactoringTests.cs (1)
21protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Wrapping\ArgumentWrappingTests.cs (1)
19protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Wrapping\BinaryExpressionWrappingTests.cs (1)
21protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Wrapping\ChainedExpressionWrappingTests.cs (1)
18protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Wrapping\InitializerExpressionWrappingTests.cs (1)
17protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Wrapping\ParameterWrappingTests.cs (1)
20protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Microsoft.CodeAnalysis.EditorFeatures (1)
Editor\EditorLayerExtensionManager.cs (1)
72if (provider is CodeFixProvider or CodeFixes.FixAllProvider or CodeRefactoringProvider or CodeRefactorings.FixAllProvider)
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
CodeRefactoringSuggestedAction.cs (2)
21public CodeRefactoringProvider CodeRefactoringProvider { get; } 29CodeRefactoringProvider provider,
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (9)
CodeActions\AbstractCodeActionTest.cs (3)
34protected abstract CodeRefactoringProvider CreateCodeRefactoringProvider( 77CodeRefactoringProvider provider, 108var provider = CreateCodeRefactoringProvider(workspace, parameters);
CodeActions\CSharpCodeRefactoringVerifier`1.cs (1)
13where TCodeRefactoring : CodeRefactoringProvider, new()
CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (1)
27where TCodeRefactoring : CodeRefactoringProvider, new()
CodeActions\VisualBasicCodeRefactoringVerifier`1.cs (1)
13where TCodeRefactoring : CodeRefactoringProvider, new()
CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (1)
27where TCodeRefactoring : CodeRefactoringProvider, new()
MoveToNamespace\AbstractMoveToNamespaceTests.cs (1)
26protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
MoveType\AbstractMoveTypeTest.cs (1)
38protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (12)
CodeActions\CodeChangeProviderMetadataTests.cs (5)
25[InlineData(typeof(CodeRefactoringProvider))] 50[InlineData(typeof(CodeRefactoringProvider), LanguageNames.CSharp)] 51[InlineData(typeof(CodeRefactoringProvider), LanguageNames.VisualBasic)] 87[InlineData(typeof(CodeRefactoringProvider), typeof(PredefinedCodeRefactoringProviderNames))] 114[InlineData(typeof(CodeRefactoringProvider), typeof(PredefinedCodeRefactoringProviderNames))]
CodeFixes\ExtensionOrderingTests.cs (1)
94var providers = ExportProvider.GetExports<CodeRefactoringProvider, CodeChangeProviderMetadata>();
CodeRefactorings\CodeRefactoringServiceTest.cs (5)
102where T : CodeRefactoringProvider 113var codeRefactoring = workspace.ExportProvider.GetExportedValues<CodeRefactoringProvider>().OfType<T>().Single(); 140private readonly ImmutableArray<CodeRefactoringProvider> _refactorings; 144public StubAnalyzerReference(params CodeRefactoringProvider[] codeRefactorings) 159public ImmutableArray<CodeRefactoringProvider> GetRefactorings()
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
33protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Suggestions\SuggestedActions\CodeRefactoringSuggestedAction.cs (2)
21public CodeRefactoringProvider CodeRefactoringProvider { get; } 29CodeRefactoringProvider provider,
Microsoft.CodeAnalysis.Features (29)
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (1)
18/// a <see cref="CodeFixes.CodeFixProvider"/> or a <see cref="CodeRefactorings.CodeRefactoringProvider"/>.
CodeRefactorings\CodeRefactoring.cs (2)
18public CodeRefactoringProvider Provider { get; } 34CodeRefactoringProvider provider,
CodeRefactorings\CodeRefactoringService.cs (22)
28private readonly Lazy<ImmutableDictionary<string, Lazy<ImmutableArray<CodeRefactoringProvider>>>> _lazyLanguageToProvidersMap; 29private readonly Lazy<ImmutableDictionary<CodeRefactoringProvider, CodeChangeProviderMetadata>> _lazyRefactoringToMetadataMap; 31private ImmutableDictionary<CodeRefactoringProvider, FixAllProviderInfo?> _fixAllProviderMap = ImmutableDictionary<CodeRefactoringProvider, FixAllProviderInfo?>.Empty; 36[ImportMany] IEnumerable<Lazy<CodeRefactoringProvider, CodeChangeProviderMetadata>> providers) 39_lazyLanguageToProvidersMap = new Lazy<ImmutableDictionary<string, Lazy<ImmutableArray<CodeRefactoringProvider>>>>( 44.Select(grp => new KeyValuePair<string, Lazy<ImmutableArray<CodeRefactoringProvider>>>( 46new Lazy<ImmutableArray<CodeRefactoringProvider>>(() => ExtensionOrderer.Order(grp).Select(lz => lz.Value).ToImmutableArray()))))); 50private static IEnumerable<Lazy<CodeRefactoringProvider, OrderableLanguageMetadata>> DistributeLanguages(IEnumerable<Lazy<CodeRefactoringProvider, CodeChangeProviderMetadata>> providers) 58yield return new Lazy<CodeRefactoringProvider, OrderableLanguageMetadata>(() => provider.Value, orderable); 63private ImmutableDictionary<string, Lazy<ImmutableArray<CodeRefactoringProvider>>> LanguageToProvidersMap 66private ImmutableDictionary<CodeRefactoringProvider, CodeChangeProviderMetadata> RefactoringToMetadataMap 69private ConcatImmutableArray<CodeRefactoringProvider> GetProviders(TextDocument document) 71var allRefactorings = ImmutableArray<CodeRefactoringProvider>.Empty; 79static ImmutableArray<CodeRefactoringProvider> GetProjectRefactorings(TextDocument document) 83return ImmutableArray<CodeRefactoringProvider>.Empty; 100foreach (var provider in GetProviders(document)) 131foreach (var provider in GetProviders(document)) 159CodeRefactoringProvider provider, 222: AbstractProjectExtensionProvider<ProjectCodeRefactoringProvider, CodeRefactoringProvider, ExportCodeRefactoringProviderAttribute> 227protected override bool TryGetExtensionsFromReference(AnalyzerReference reference, out ImmutableArray<CodeRefactoringProvider> extensions)
CodeRefactorings\FixAllOccurences\FixAllCodeRefactoringCodeAction.cs (1)
12/// Fix all code action for a code action registered by a <see cref="CodeRefactoringProvider"/>.
CodeRefactorings\ICodeRefactoringProviderFactory.cs (1)
13ImmutableArray<CodeRefactoringProvider> GetRefactorings();
GenerateConstructorFromMembers\AbstractGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
30/// This <see cref="CodeRefactoringProvider"/> is responsible for allowing a user to pick a
GenerateDefaultConstructors\GenerateDefaultConstructorsCodeRefactoringProvider.cs (1)
15/// This <see cref="CodeRefactoringProvider"/> gives users a way to generate constructors for
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Features\UnifiedSuggestions\UnifiedSuggestedActions\ICodeRefactoringSuggestedAction.cs (1)
15CodeRefactoringProvider CodeRefactoringProvider { get; }
Features\UnifiedSuggestions\UnifiedSuggestedActions\UnifiedCodeRefactoringSuggestedAction.cs (2)
17public CodeRefactoringProvider CodeRefactoringProvider { get; } 25CodeRefactoringProvider codeRefactoringProvider,
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
590CodeRefactoringProvider provider,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (47)
AddFileBanner\AddFileBannerTests.vb (1)
17Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ChangeSignature\ChangeSignature_Delegates.vb (1)
20Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\AddAwait\AddAwaitTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\ConvertIfToSwitch\ConvertIfToSwitchFixAllTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\ConvertIfToSwitch\ConvertIfToSwitchTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\ConvertNumericLiteral\ConvertNumericLiteralTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\EncapsulateField\EncapsulateFieldTests.vb (1)
16Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\ExtractMethod\ExtractMethodTests.vb (1)
13Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\InlineTemporary\InlineTemporaryTests.vb (1)
13Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\IntroduceVariable\IntroduceVariableTests.vb (1)
16Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\Preview\PreviewTests.vb (1)
23Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\ReplaceMethodWithProperty\ReplaceMethodWithPropertyTests.vb (1)
13Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeActions\ReplacePropertyWithMethods\ReplacePropertyWithMethodsTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
CodeRefactorings\AddMissingImports\VisualBasicAddMissingImportsRefactoringProviderTests.vb (1)
20Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ConvertAnonymousType\ConvertAnonymousTypeToClassTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ConvertAnonymousType\ConvertAnonymousTypeToTupleTests.vb (1)
16Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ConvertForEachToFor\ConvertForEachToForTests.vb (1)
15workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ConvertForToForEach\ConvertForToForEachTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ConvertToInterpolatedString\ConvertPlaceholderToInterpolatedStringTests.vb (1)
16Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
GenerateComparisonOperators\GenerateComparisonOperatorsTests.vb (1)
16Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
GenerateConstructorFromMembers\GenerateConstructorFromMembersTests.vb (1)
18Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersTests.vb (1)
18Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
GenerateOverrides\GenerateOverridesTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(Workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
InitializeParameter\AddParameterCheckTests.vb (1)
15Protected Overrides Function CreateCodeRefactoringProvider(Workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
InitializeParameter\InitializeMemberFromParameterTests.vb (1)
15Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
InlineMethod\VisualBasicInlineMethodTests_CrossLanguage.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
IntroduceUsingStatement\IntroduceUsingStatementTests.vb (1)
15Protected Overrides Function CreateCodeRefactoringProvider(ByVal workspace As Workspace, ByVal parameters As TestParameters) As CodeRefactoringProvider
IntroduceVariable\IntroduceLocalForExpressionTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
InvertConditional\InvertConditionalTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
InvertIf\InvertMultiLineIfTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
InvertIf\InvertSingleLineIfTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
InvertLogical\InvertLogicalTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
MoveDeclarationNearReference\MoveDeclarationNearReferenceTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
NameTupleElement\NameTupleElementTests.vb (1)
15Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
ReplaceDocCommentTextWithTag\ReplaceDocCommentTextWithTagTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(Workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
SplitOrMergeIfStatements\MergeConsecutiveIfStatementsTests_ElseIf_WithPrevious.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
SplitOrMergeIfStatements\MergeNestedIfStatementsTests_WithOuter.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
SplitOrMergeIfStatements\SplitIntoConsecutiveIfStatementsTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
SplitOrMergeIfStatements\SplitIntoNestedIfStatementsTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
UseNamedArguments\UseNamedArgumentsTests.vb (1)
14Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
Wrapping\ArgumentWrappingTests.vb (1)
13Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
Wrapping\BinaryExpressionWrappingTests.vb (1)
15Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
Wrapping\ChainedExpressionWrappingTests.vb (1)
13Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
Wrapping\InitializerExpressionWrappingTests.vb (1)
13Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
Wrapping\ParameterWrappingTests.vb (1)
13Protected Overrides Function CreateCodeRefactoringProvider(workspace As Workspace, parameters As TestParameters) As CodeRefactoringProvider
Microsoft.CodeAnalysis.Workspaces (17)
CodeActions\CodeAction.cs (3)
32/// An action produced by a <see cref="CodeFixProvider"/> or a <see cref="CodeRefactoringProvider"/>. 62/// by the same <see cref="CodeFixProvider"/> or <see cref="CodeRefactoringProvider"/>. 105Contract.ThrowIfFalse(provider is CodeFixProvider or CodeRefactoringProvider);
CodeFixesAndRefactorings\FixAllProviderInfo.cs (2)
39else if (provider is CodeRefactoringProvider codeRefactoringProvider) 76private static FixAllProviderInfo? CreateWithCodeRefactoring(CodeRefactoringProvider provider)
CodeRefactorings\CodeRefactoringContext.cs (4)
15/// Context for code refactorings provided by a <see cref="CodeRefactoringProvider"/>. 73/// Creates a code refactoring context to be passed into <see cref="CodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext)"/> method. 85/// Creates a code refactoring context to be passed into <see cref="CodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext)"/> method. 96/// Creates a code refactoring context to be passed into <see cref="CodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext)"/> method.
CodeRefactorings\ExportCodeRefactoringProviderAttribute.cs (3)
13/// Use this attribute to declare a <see cref="CodeRefactoringProvider"/> implementation so that it can be discovered by the host. 25/// The name of the <see cref="CodeRefactoringProvider"/>. 74: base(typeof(CodeRefactoringProvider))
CodeRefactorings\FixAllOccurences\FixAllContext.cs (1)
36public CodeRefactoringProvider CodeRefactoringProvider => State.Provider;
CodeRefactorings\FixAllOccurences\FixAllState.cs (4)
21internal sealed class FixAllState : CommonFixAllState<CodeRefactoringProvider, FixAllProvider, FixAllState> 39CodeRefactoringProvider codeRefactoringProvider, 52CodeRefactoringProvider codeRefactoringProvider, 66CodeRefactoringProvider codeRefactoringProvider,