67 types derived from CodeRefactoringProvider
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
CodeActions\ApplyChangesOperationTests.cs (1)
25
private class MyCodeRefactoringProvider :
CodeRefactoringProvider
CodeActions\Preview\ErrorCases\ExceptionInCodeAction.cs (1)
16
internal sealed class ExceptionInCodeAction :
CodeRefactoringProvider
CodeActions\PreviewTests.cs (1)
43
private sealed class MyCodeRefactoringProvider :
CodeRefactoringProvider
Microsoft.CodeAnalysis.CSharp.Features (10)
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.cs (1)
24
internal sealed partial class EnableNullableCodeRefactoringProvider :
CodeRefactoringProvider
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.FixAllProvider.cs (1)
18
internal sealed partial class EnableNullableCodeRefactoringProvider :
CodeRefactoringProvider
CodeRefactorings\UseExplicitOrImplicitType\AbstractUseTypeCodeRefactoringProvider.cs (1)
20
internal abstract class AbstractUseTypeCodeRefactoringProvider :
CodeRefactoringProvider
ConvertBetweenRegularAndVerbatimString\AbstractConvertBetweenRegularAndVerbatimStringCodeRefactoringProvider.cs (1)
21
:
CodeRefactoringProvider
ConvertProgram\ConvertToProgramMainCodeRefactoringProvider.cs (1)
23
internal class ConvertToProgramMainCodeRefactoringProvider :
CodeRefactoringProvider
ConvertProgram\ConvertToTopLevelStatementsCodeRefactoringProvider.cs (1)
23
internal class ConvertToTopLevelStatementsCodeRefactoringProvider :
CodeRefactoringProvider
ImplementInterface\AbstractChangeImplementationCodeRefactoringProvider.cs (1)
29
internal abstract class AbstractChangeImplementationCodeRefactoringProvider :
CodeRefactoringProvider
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (1)
35
:
CodeRefactoringProvider
MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeRefactoringProvider.cs (1)
17
internal sealed class MakeLocalFunctionStaticCodeRefactoringProvider :
CodeRefactoringProvider
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
27
internal class CSharpReverseForStatementCodeRefactoringProvider :
CodeRefactoringProvider
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingCodeRefactoringProvider.cs (1)
17
internal class RenameTrackingCodeRefactoringProvider :
CodeRefactoringProvider
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
CodeRefactorings\CodeRefactoringServiceTest.cs (3)
57
internal sealed class TypeScriptCodeRefactoringProvider :
CodeRefactoringProvider
116
internal class StubRefactoring :
CodeRefactoringProvider
232
internal abstract class AbstractNonSourceFileRefactoring :
CodeRefactoringProvider
CodeRefactorings\ErrorCases\CodeRefactoringExceptionInComputeRefactorings.cs (1)
18
internal class ExceptionInCodeActions :
CodeRefactoringProvider
CodeRefactorings\ErrorCases\CodeRefactoringExceptionInComputeRefactoringsAsync.cs (1)
18
internal class ExceptionInComputeRefactoringsAsync :
CodeRefactoringProvider
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
98
private sealed class TestCodeRefactoringProvider :
CodeRefactoringProvider
Microsoft.CodeAnalysis.Features (45)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
19
TMethodDeclarationSyntax> :
CodeRefactoringProvider
ChangeSignature\AbstractChangeSignatureCodeRefactoringProvider.cs (1)
17
internal sealed class ChangeSignatureCodeRefactoringProvider :
CodeRefactoringProvider
CodeRefactorings\AddAwait\AbstractAddAwaitCodeRefactoringProvider.cs (1)
25
internal abstract class AbstractAddAwaitCodeRefactoringProvider<TExpressionSyntax> :
CodeRefactoringProvider
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsRefactoringProvider.cs (1)
19
internal abstract class AbstractAddMissingImportsRefactoringProvider :
CodeRefactoringProvider
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (1)
24
internal sealed class ExtractMethodCodeRefactoringProvider :
CodeRefactoringProvider
CodeRefactorings\MoveType\MoveTypeCodeRefactoringProvider.cs (1)
14
internal sealed class MoveTypeCodeRefactoringProvider :
CodeRefactoringProvider
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.cs (1)
15
:
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)
20
internal abstract class AbstractConvertAutoPropertyToFullPropertyCodeRefactoringProvider<TPropertyDeclarationNode, TTypeDeclarationNode, TCodeGenerationContextInfo> :
CodeRefactoringProvider
ConvertCast\AbstractConvertCastCodeRefactoringProvider.cs (1)
24
:
CodeRefactoringProvider
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
27
TForEachStatement> :
CodeRefactoringProvider
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
28
TVariableDeclaratorSyntax> :
CodeRefactoringProvider
ConvertLinq\AbstractConvertLinqQueryToForEachProvider.cs (1)
16
internal abstract class AbstractConvertLinqQueryToForEachProvider<TQueryExpression, TStatement> :
CodeRefactoringProvider
ConvertLinq\ConvertForEachToLinqQuery\AbstractConvertForEachToLinqQueryProvider.cs (1)
16
internal abstract class AbstractConvertForEachToLinqQueryProvider<TForEachStatement, TStatement> :
CodeRefactoringProvider
ConvertToInterpolatedString\AbstractConvertConcatenationToInterpolatedStringRefactoringProvider.cs (1)
24
internal abstract class AbstractConvertConcatenationToInterpolatedStringRefactoringProvider<TExpressionSyntax> :
CodeRefactoringProvider
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
29
TInterpolationSyntax> :
CodeRefactoringProvider
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringRefactoringProvider.cs (1)
22
internal sealed class ConvertRegularStringToInterpolatedStringRefactoringProvider :
CodeRefactoringProvider
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
47
:
CodeRefactoringProvider
, IConvertTupleToStructCodeRefactoringProvider
ExtractInterface\ExtractInterfaceCodeRefactoringProvider.cs (1)
18
internal sealed class ExtractInterfaceCodeRefactoringProvider :
CodeRefactoringProvider
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
24
internal sealed class GenerateComparisonOperatorsCodeRefactoringProvider :
CodeRefactoringProvider
GenerateDefaultConstructors\GenerateDefaultConstructorsCodeRefactoringProvider.cs (1)
27
internal sealed class GenerateDefaultConstructorsCodeRefactoringProvider :
CodeRefactoringProvider
GenerateFromMembers\AbstractGenerateFromMembersCodeRefactoringProvider.cs (1)
21
internal abstract partial class AbstractGenerateFromMembersCodeRefactoringProvider :
CodeRefactoringProvider
GenerateFromMembers\AbstractGenerateFromMembersCodeRefactoringProvider.SelectedMemberInfo.cs (1)
10
internal abstract partial class AbstractGenerateFromMembersCodeRefactoringProvider :
CodeRefactoringProvider
InitializeParameter\AbstractInitializeParameterCodeRefactoringProvider.cs (1)
27
TExpressionSyntax> :
CodeRefactoringProvider
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (1)
24
:
CodeRefactoringProvider
InlineTemporary\AbstractInlineTemporaryCodeRefactoringProvider.cs (1)
18
TVariableDeclaratorSyntax> :
CodeRefactoringProvider
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
30
TArgumentSyntax> :
CodeRefactoringProvider
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (1)
28
TTryStatementSyntax> :
CodeRefactoringProvider
IntroduceVariable\AbstractIntroduceLocalForExpressionCodeRefactoringProvider.cs (1)
21
TLocalDeclarationStatementSyntax> :
CodeRefactoringProvider
InvertConditional\AbstractInvertConditionalCodeRefactoringProvider.cs (1)
16
:
CodeRefactoringProvider
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
25
TSyntaxKind, TStatementSyntax, TIfStatementSyntax, TEmbeddedStatement> :
CodeRefactoringProvider
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
23
:
CodeRefactoringProvider
MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceCodeRefactoringProvider.cs (1)
15
internal abstract class AbstractMoveDeclarationNearReferenceCodeRefactoringProvider<TLocalDeclaration> :
CodeRefactoringProvider
where TLocalDeclaration : SyntaxNode
MoveStaticMembers\AbstractMoveStaticMembersRefactoringProvider.cs (1)
16
internal abstract class AbstractMoveStaticMembersRefactoringProvider :
CodeRefactoringProvider
MoveToNamespace\MoveToNamespaceCodeActionProvider.cs (1)
18
internal sealed class MoveToNamespaceCodeActionProvider :
CodeRefactoringProvider
NameTupleElement\AbstractNameTupleElementCodeRefactoringProvider.cs (1)
16
internal abstract class AbstractNameTupleElementCodeRefactoringProvider<TArgumentSyntax, TTupleExpressionSyntax> :
CodeRefactoringProvider
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
29
:
CodeRefactoringProvider
ReplaceDocCommentTextWithTag\AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (1)
17
internal abstract class AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider :
CodeRefactoringProvider
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (1)
30
CodeRefactoringProvider
,
SplitOrMergeIfStatements\AbstractMergeIfStatementsCodeRefactoringProvider.cs (1)
21
internal abstract class AbstractMergeIfStatementsCodeRefactoringProvider :
CodeRefactoringProvider
SplitOrMergeIfStatements\AbstractSplitIfStatementCodeRefactoringProvider.cs (1)
19
internal abstract class AbstractSplitIfStatementCodeRefactoringProvider :
CodeRefactoringProvider
UseNamedArguments\AbstractUseNamedArgumentsCodeRefactoringProvider.cs (1)
15
internal abstract class AbstractUseNamedArgumentsCodeRefactoringProvider :
CodeRefactoringProvider
Wrapping\AbstractWrappingCodeRefactoringProvider.cs (1)
24
internal abstract class AbstractWrappingCodeRefactoringProvider :
CodeRefactoringProvider
Microsoft.CodeAnalysis.TestAnalyzerReference (1)
NonSourceFileRefactoring.cs (1)
19
public sealed class NonSourceFileRefactoring :
CodeRefactoringProvider
Microsoft.CodeAnalysis.Workspaces (1)
CodeRefactorings\SyntaxEditorBasedCodeRefactoringProvider.cs (1)
17
internal abstract partial class SyntaxEditorBasedCodeRefactoringProvider :
CodeRefactoringProvider
199 references to CodeRefactoringProvider
AnalyzerRunner (9)
CodeRefactoringRunner.cs (9)
29
private readonly ImmutableDictionary<string, ImmutableArray<
CodeRefactoringProvider
>> _refactorings;
86
foreach (
var
refactoringProvider in _refactorings[document.Project.Language])
153
private static ImmutableDictionary<string, ImmutableArray<
CodeRefactoringProvider
>> FilterRefactorings(ImmutableDictionary<string, ImmutableArray<Lazy<
CodeRefactoringProvider
, CodeRefactoringProviderMetadata>>> refactorings, Options options)
160
private static IEnumerable<
CodeRefactoringProvider
> FilterRefactorings(IEnumerable<Lazy<
CodeRefactoringProvider
, CodeRefactoringProviderMetadata>> refactorings, Options options)
180
foreach (
var
refactoring in refactorings.Select(refactoring => refactoring.Value))
199
private static ImmutableDictionary<string, ImmutableArray<Lazy<
CodeRefactoringProvider
, CodeRefactoringProviderMetadata>>> GetCodeRefactoringProviders(string path)
230
var refactorings = exportProvider.GetExports<
CodeRefactoringProvider
, CodeRefactoringProviderMetadata>();
BuildActionTelemetryTable (1)
Program.cs (1)
491
|| typeof(
CodeRefactoringProvider
).IsAssignableFrom(t);
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (4)
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeRefactoringVerifier`1.cs (1)
14
where TCodeRefactoring :
CodeRefactoringProvider
, new()
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (1)
29
where TCodeRefactoring :
CodeRefactoringProvider
, new()
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeRefactoringVerifier`1.cs (1)
13
where TCodeRefactoring :
CodeRefactoringProvider
, new()
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (1)
28
where TCodeRefactoring :
CodeRefactoringProvider
, new()
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (19)
AddMissingImports\CSharpAddMissingImportsRefactoringProviderTests.cs (1)
25
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
ChangeSignature\ChangeSignature_Delegates.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
CodeActions\ApplyChangesOperationTests.cs (2)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
244
var
provider = CreateCodeRefactoringProvider(workspace, parameters);
CodeActions\ImplementInterface\ImplementExplicitlyTests.cs (1)
24
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
CodeActions\ImplementInterface\ImplementImplicitlyTests.cs (1)
26
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
CodeActions\InitializeParameter\InitializeMemberFromParameterTests.cs (1)
21
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
CodeActions\InitializeParameter\InitializeMemberFromPrimaryConstructorParameterTests.cs (1)
21
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
CodeActions\InlineMethod\CSharpInlineMethodTests_CrossLanguage.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
CodeActions\PreviewExceptionTests.cs (5)
67
private static async Task GetPreview(EditorTestWorkspace workspace,
CodeRefactoringProvider
provider)
75
private static void DisplayText(EditorTestWorkspace workspace,
CodeRefactoringProvider
provider)
83
private static async Task ActionSets(EditorTestWorkspace workspace,
CodeRefactoringProvider
provider)
91
private static CodeRefactoringSuggestedAction CreateRefactoringSuggestedAction(EditorTestWorkspace workspace,
CodeRefactoringProvider
provider, out EditorLayerExtensionManager.ExtensionManager extensionManager)
103
EditorTestWorkspace workspace,
CodeRefactoringProvider
provider, List<CodeAction> codeActions,
CodeActions\PreviewTests.cs (2)
40
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
94
var
provider = CreateCodeRefactoringProvider(workspace, parameters);
CodeActions\PullMemberUp\CSharpPullMemberUpTests.cs (1)
30
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
32
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
GenerateConstructorFromMembers\GenerateConstructorFromMembersTests.cs (1)
23
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
29
internal sealed class CSharpConvertLocalFunctionToMethodCodeRefactoringProvider() :
CodeRefactoringProvider
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
39
:
CodeRefactoringProvider
ConvertToRecord\CSharpConvertToRecordRefactoringProvider.cs (1)
17
internal sealed class CSharpConvertToRecordRefactoringProvider() :
CodeRefactoringProvider
UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeRefactoringProvider.cs (1)
27
internal sealed class UseExpressionBodyForLambdaCodeRefactoringProvider() :
CodeRefactoringProvider
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (58)
AddAwait\AddAwaitTests.cs (1)
18
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
AddFileBanner\AddFileBannerTests.cs (1)
18
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertAnonymousType\ConvertAnonymousTypeToClassTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertAnonymousType\ConvertAnonymousTypeToTupleTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests.cs (1)
18
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimInterpolatedStringTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimStringTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertForEachToFor\ConvertForEachToForTests.cs (1)
24
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertForToForEach\ConvertForToForEachTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertIfToSwitch\ConvertIfToSwitchFixAllTests.cs (1)
17
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertLinq\ConvertForEachToLinqQueryTests.cs (1)
18
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertLinq\ConvertLinqQueryToForEachTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertLocalFunctionToMethod\ConvertLocalFunctionToMethodTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertNamespace\ConvertNamespaceRefactoringFixAllTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertNumericLiteral\ConvertNumericLiteralTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertToInterpolatedString\ConvertPlaceholderToInterpolatedStringTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertToRawString\ConvertInterpolatedStringToRawString_FixAllTests.cs (1)
18
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ConvertToRawString\ConvertRegularStringToRawString_FixAllTests.cs (1)
18
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
EnableNullable\EnableNullableFixAllTests.cs (1)
16
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
EncapsulateField\EncapsulateFieldTests.cs (1)
24
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ExtractClass\ExtractClassTests.cs (1)
38
protected override IEnumerable<
CodeRefactoringProvider
> GetCodeRefactoringProviders()
ExtractMethod\ExtractLocalFunctionTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ExtractMethod\ExtractMethodTests2.cs (1)
23
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
GenerateOverrides\GenerateOverridesTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
InlineTemporary\InlineTemporaryTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
IntroduceParameter\IntroduceParameterTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
IntroduceUsingStatement\IntroduceUsingStatementTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
IntroduceVariable\InteractiveIntroduceVariableTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
IntroduceVariable\IntroduceLocalForExpressionTests.cs (1)
56
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
IntroduceVariable\IntroduceVariableTests.cs (1)
25
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
InvertConditional\InvertConditionalTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
InvertLogical\InvertLogicalTests.cs (1)
23
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
MakeLocalFunctionStatic\MakeLocalFunctionStaticRefactoringTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
MoveDeclarationNearReference\MoveDeclarationNearReferenceTests.cs (1)
21
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
NameTupleElement\NameTupleElementTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ReplaceDocCommentTextWithTag\ReplaceDocCommentTextWithTagTests.cs (1)
18
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ReplaceMethodWithProperty\ReplaceMethodWithPropertyTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ReplacePropertyWithMethods\ReplacePropertyWithMethodsTests.cs (1)
23
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
ReverseForStatement\ReverseForStatementTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
SplitOrMergeIfStatements\MergeConsecutiveIfStatementsTests_ElseIf_WithPrevious.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
SplitOrMergeIfStatements\MergeNestedIfStatementsTests_WithOuter.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
SplitOrMergeIfStatements\SplitIntoConsecutiveIfStatementsTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
SplitOrMergeIfStatements\SplitIntoNestedIfStatementsTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExplicitOrImplicitType\UseExplicitTypeRefactoringTests.cs (1)
18
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExplicitOrImplicitType\UseImplicitTypeRefactoringTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyFixAllTests.cs (1)
19
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForAccessorsRefactoringTests.cs (1)
23
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForConstructorsRefactoringTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForConversionOperatorsRefactoringTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForIndexersRefactoringTests.cs (1)
23
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForLocalFunctionsRefactoringTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForMethodsRefactoringTests.cs (1)
21
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForOperatorsRefactoringTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBody\Refactoring\UseExpressionBodyForPropertiesRefactoringTests.cs (1)
24
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseExpressionBodyForLambda\UseExpressionBodyForLambdasRefactoringTests.cs (1)
22
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
UseRecursivePatterns\UseRecursivePatternsRefactoringFixAllTests.cs (1)
17
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
Wrapping\AbstractWrappingTests.cs (1)
20
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(TestWorkspace workspace, TestParameters parameters)
Microsoft.CodeAnalysis.EditorFeatures (1)
Editor\EditorLayerExtensionManager.cs (1)
53
or
CodeRefactoringProvider
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)
93
var providers = ExportProvider.GetExports<
CodeRefactoringProvider
, CodeChangeProviderMetadata>();
CodeRefactorings\CodeRefactoringServiceTest.cs (5)
93
where T :
CodeRefactoringProvider
104
var codeRefactoring = workspace.ExportProvider.GetExportedValues<
CodeRefactoringProvider
>().OfType<T>().Single();
131
private readonly ImmutableArray<
CodeRefactoringProvider
> _refactorings;
135
public StubAnalyzerReference(params
CodeRefactoringProvider
[] codeRefactorings)
150
public ImmutableArray<
CodeRefactoringProvider
> GetRefactorings()
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
48
protected override
CodeRefactoringProvider
CreateCodeRefactoringProvider(EditorTestWorkspace workspace, TestParameters parameters)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Suggestions\SuggestedActions\CodeRefactoringSuggestedAction.cs (2)
21
public
CodeRefactoringProvider
CodeRefactoringProvider { get; }
29
CodeRefactoringProvider
provider,
Microsoft.CodeAnalysis.Features (34)
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (1)
17
/// a <see cref="CodeFixes.CodeFixProvider"/> or a <see cref="CodeRefactorings.
CodeRefactoringProvider
"/>.
CodeRefactorings\CodeRefactoring.cs (2)
18
public
CodeRefactoringProvider
Provider { get; }
32
CodeRefactoringProvider
provider,
CodeRefactorings\CodeRefactoringService.cs (20)
30
[ImportMany] IEnumerable<Lazy<
CodeRefactoringProvider
, CodeChangeProviderMetadata>> providers) : ICodeRefactoringService
32
private readonly Lazy<ImmutableDictionary<string, Lazy<ImmutableArray<
CodeRefactoringProvider
>>>> _lazyLanguageToProvidersMap = new Lazy<ImmutableDictionary<string, Lazy<ImmutableArray<
CodeRefactoringProvider
>>>>(
39
new Lazy<ImmutableArray<
CodeRefactoringProvider
>>(() => ExtensionOrderer.Order(grp).Select(lz => lz.Value).ToImmutableArray())))));
40
private readonly Lazy<ImmutableDictionary<
CodeRefactoringProvider
, CodeChangeProviderMetadata>> _lazyRefactoringToMetadataMap = new(() => providers.Where(provider => provider.IsValueCreated).ToImmutableDictionary(provider => provider.Value, provider => provider.Metadata));
42
private ImmutableDictionary<
CodeRefactoringProvider
, FixAllProviderInfo?> _fixAllProviderMap = ImmutableDictionary<
CodeRefactoringProvider
, FixAllProviderInfo?>.Empty;
44
private static IEnumerable<Lazy<
CodeRefactoringProvider
, OrderableLanguageMetadata>> DistributeLanguages(IEnumerable<Lazy<
CodeRefactoringProvider
, CodeChangeProviderMetadata>> providers)
52
yield return new Lazy<
CodeRefactoringProvider
, OrderableLanguageMetadata>(() => provider.Value, orderable);
57
private ImmutableDictionary<string, Lazy<ImmutableArray<
CodeRefactoringProvider
>>> LanguageToProvidersMap
60
private ImmutableDictionary<
CodeRefactoringProvider
, CodeChangeProviderMetadata> RefactoringToMetadataMap
63
private ConcatImmutableArray<
CodeRefactoringProvider
> GetProviders(TextDocument document)
65
var allRefactorings = ImmutableArray<
CodeRefactoringProvider
>.Empty;
73
static ImmutableArray<
CodeRefactoringProvider
> GetProjectRefactorings(TextDocument document)
158
using var _ = PooledDictionary<
CodeRefactoringProvider
, int>.GetInstance(out var providerToIndex);
162
var pairs = await ProducerConsumer<(
CodeRefactoringProvider
provider, CodeRefactoring codeRefactoring)>.RunParallelAsync(
208
CodeRefactoringProvider
provider,
254
: AbstractProjectExtensionProvider<ProjectCodeRefactoringProvider,
CodeRefactoringProvider
, ExportCodeRefactoringProviderAttribute>
259
protected 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)
13
ImmutableArray<
CodeRefactoringProvider
> GetRefactorings();
ConvertNumericLiteral\AbstractConvertNumericLiteralCodeRefactoringProvider.cs (1)
19
:
CodeRefactoringProvider
EncapsulateField\EncapsulateFieldRefactoringProvider.cs (1)
16
internal sealed class EncapsulateFieldRefactoringProvider() :
CodeRefactoringProvider
ExtractClass\AbstractExtractClassRefactoringProvider.cs (1)
17
internal abstract class AbstractExtractClassRefactoringProvider(IExtractClassOptionsService? service) :
CodeRefactoringProvider
GenerateConstructorFromMembers\AbstractGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
29
/// This <see cref="
CodeRefactoringProvider
"/> is responsible for allowing a user to pick a
GenerateDefaultConstructors\GenerateDefaultConstructorsCodeRefactoringProvider.cs (1)
14
/// This <see cref="
CodeRefactoringProvider
"/> gives users a way to generate constructors for
GenerateOverrides\GenerateOverridesCodeRefactoringProvider.cs (1)
21
internal sealed partial class GenerateOverridesCodeRefactoringProvider(IPickMembersService? pickMembersService) :
CodeRefactoringProvider
IntroduceVariable\IntroduceVariableCodeRefactoringProvider.cs (1)
21
internal sealed class IntroduceVariableCodeRefactoringProvider() :
CodeRefactoringProvider
PullMemberUp\AbstractPullMemberUpRefactoringProvider.cs (1)
18
internal abstract partial class AbstractPullMemberUpRefactoringProvider(IPullMemberUpOptionsService? service) :
CodeRefactoringProvider
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (1)
29
internal sealed class ReplaceMethodWithPropertyCodeRefactoringProvider() :
CodeRefactoringProvider
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Features\UnifiedSuggestions\UnifiedSuggestedActions\ICodeRefactoringSuggestedAction.cs (1)
15
CodeRefactoringProvider
CodeRefactoringProvider { get; }
Features\UnifiedSuggestions\UnifiedSuggestedActions\UnifiedCodeRefactoringSuggestedAction.cs (2)
17
public
CodeRefactoringProvider
CodeRefactoringProvider { get; }
25
CodeRefactoringProvider
codeRefactoringProvider,
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
582
CodeRefactoringProvider
provider,
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (32)
AddAwait\AddAwaitTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
AddFileBanner\AddFileBannerTests.vb (1)
18
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertAnonymousType\ConvertAnonymousTypeToClassTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertAnonymousType\ConvertAnonymousTypeToTupleTests.vb (1)
17
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertForEachToFor\ConvertForEachToForTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertForToForEach\ConvertForToForEachTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertIfToSwitch\ConvertIfToSwitchFixAllTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertIfToSwitch\ConvertIfToSwitchTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertNumericLiteral\ConvertNumericLiteralTests.vb (1)
17
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertToInterpolatedString\ConvertPlaceholderToInterpolatedStringTests.vb (1)
17
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
EncapsulateField\EncapsulateFieldTests.vb (1)
17
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ExtractMethod\ExtractMethodTests.vb (1)
14
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
GenerateComparisonOperators\GenerateComparisonOperatorsTests.vb (1)
17
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
InlineTemporary\InlineTemporaryTests.vb (1)
16
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
IntroduceUsingStatement\IntroduceUsingStatementTests.vb (1)
16
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
IntroduceVariable\IntroduceLocalForExpressionTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
IntroduceVariable\IntroduceVariableTests.vb (1)
18
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
InvertConditional\InvertConditionalTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
InvertLogical\InvertLogicalTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
MoveDeclarationNearReference\MoveDeclarationNearReferenceTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
NameTupleElement\NameTupleElementTests.vb (1)
16
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ReplaceDocCommentTextWithTag\ReplaceDocCommentTextWithTagTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ReplaceMethodWithProperty\ReplaceMethodWithPropertyTests.vb (1)
14
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
ReplacePropertyWithMethods\ReplacePropertyWithMethodsTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
SplitOrMergeIfStatements\MergeConsecutiveIfStatementsTests_ElseIf_WithPrevious.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
SplitOrMergeIfStatements\MergeNestedIfStatementsTests_WithOuter.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
SplitOrMergeIfStatements\SplitIntoConsecutiveIfStatementsTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
SplitOrMergeIfStatements\SplitIntoNestedIfStatementsTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
UseNamedArguments\UseNamedArgumentsTests.vb (1)
15
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
Wrapping\AbstractParameterWrappingTests.vb (1)
17
Protected Overrides Function CreateCodeRefactoringProvider(workspace As TestWorkspace, parameters As TestParameters) As
CodeRefactoringProvider
Microsoft.CodeAnalysis.Workspaces (19)
CodeActions\CodeAction.cs (3)
30
/// An action produced by a <see cref="CodeFixProvider"/> or a <see cref="
CodeRefactoringProvider
"/>.
69
/// by the same <see cref="CodeFixProvider"/> or <see cref="
CodeRefactoringProvider
"/>.
196
Contract.ThrowIfFalse(provider is CodeFixProvider or
CodeRefactoringProvider
);
CodeActions\CodeActionPriority.cs (1)
11
/// Priority of a particular code action produced by either a <see cref="
CodeRefactoringProvider
"/> or a <see
CodeActions\CodeActionRequestPriority.cs (1)
12
/// Priority class that a particular <see cref="
CodeRefactoringProvider
"/> or <see cref="CodeFixProvider"/> should
CodeFixesAndRefactorings\FixAllProviderInfo.cs (2)
39
else if (provider is
CodeRefactoringProvider
codeRefactoringProvider)
76
private static FixAllProviderInfo? CreateWithCodeRefactoring(
CodeRefactoringProvider
provider)
CodeRefactorings\CodeRefactoringContext.cs (4)
14
/// Context for code refactorings provided by a <see cref="
CodeRefactoringProvider
"/>.
59
/// Creates a code refactoring context to be passed into <see cref="
CodeRefactoringProvider
.ComputeRefactoringsAsync(CodeRefactoringContext)"/> method.
71
/// Creates a code refactoring context to be passed into <see cref="
CodeRefactoringProvider
.ComputeRefactoringsAsync(CodeRefactoringContext)"/> method.
82
/// 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)
36
public
CodeRefactoringProvider
CodeRefactoringProvider => State.Provider;
CodeRefactorings\FixAllOccurences\FixAllState.cs (4)
20
internal sealed class FixAllState : CommonFixAllState<
CodeRefactoringProvider
, FixAllProvider, FixAllState>
38
CodeRefactoringProvider
codeRefactoringProvider,
50
CodeRefactoringProvider
codeRefactoringProvider,
63
CodeRefactoringProvider
codeRefactoringProvider,