5 references to Rename
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Intents\RenameIntentTests.cs (2)
193
return VerifyExpectedTextAsync(WellKnownIntents.
Rename
, initialText, currentText, expectedText, intentData: $"{{ \"newName\": \"{newName}\" }}");
198
return VerifyExpectedTextAsync(WellKnownIntents.
Rename
, initialText, currentText, additionalText, expectedTexts, intentData: $"{{ \"newName\": \"{newName}\" }}");
Microsoft.CodeAnalysis.EditorFeatures (2)
Intents\RenameIntentProvider.cs (2)
20
[IntentProvider(WellKnownIntents.
Rename
, LanguageNames.CSharp), Shared]
57
return ImmutableArray.Create(new IntentProcessorResult(renameReplacementInfo.NewSolution, renameReplacementInfo.DocumentIds.ToImmutableArray(), EditorFeaturesResources.Rename, WellKnownIntents.
Rename
));
Microsoft.CodeAnalysis.Features (1)
Intents\WellKnownIntents.cs (1)
14
public const string Rename = nameof(
Rename
);