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