33 references to WellKnownIntents
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (26)
Intents\AddConstructorParameterIntentTests.cs (6)
61
await VerifyExpectedTextAsync(
WellKnownIntents
.AddConstructorParameter, initialText, currentText, expectedText).ConfigureAwait(false);
96
await VerifyExpectedTextAsync(
WellKnownIntents
.AddConstructorParameter, initialText, currentText, expectedText).ConfigureAwait(false);
135
await VerifyExpectedTextAsync(
WellKnownIntents
.AddConstructorParameter, initialText, currentText, expectedText).ConfigureAwait(false);
173
await VerifyExpectedTextAsync(
WellKnownIntents
.AddConstructorParameter, initialText, currentText, expectedText).ConfigureAwait(false);
207
await VerifyExpectedTextAsync(
WellKnownIntents
.AddConstructorParameter, initialText, currentText, expectedText,
246
await VerifyExpectedTextAsync(
WellKnownIntents
.AddConstructorParameter, initialText, currentText, expectedText).ConfigureAwait(false);
Intents\DeleteParameterIntentTests.cs (11)
57
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
100
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
142
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
184
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
224
await VerifyIntentMissingAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText).ConfigureAwait(false);
281
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
338
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
381
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
424
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
479
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
525
await VerifyExpectedTextAsync(
WellKnownIntents
.DeleteParameter, initialText, currentText, expectedText).ConfigureAwait(false);
Intents\GenerateConstructorIntentTests.cs (7)
45
await VerifyExpectedTextAsync(
WellKnownIntents
.GenerateConstructor, initialText, currentText, expectedText).ConfigureAwait(false);
76
await VerifyExpectedTextAsync(
WellKnownIntents
.GenerateConstructor, initialText, currentText, expectedText).ConfigureAwait(false);
110
await VerifyExpectedTextAsync(
WellKnownIntents
.GenerateConstructor, initialText, currentText, expectedText, intentData: intentData).ConfigureAwait(false);
144
await VerifyExpectedTextAsync(
WellKnownIntents
.GenerateConstructor, initialText, currentText, expectedText, intentData: intentData).ConfigureAwait(false);
176
await VerifyExpectedTextAsync(
WellKnownIntents
.GenerateConstructor, initialText, currentText, additionalDocuments, new[] { expectedText }).ConfigureAwait(false);
207
await VerifyExpectedTextAsync(
WellKnownIntents
.GenerateConstructor, initialText, currentText, expectedText).ConfigureAwait(false);
235
await VerifyExpectedTextAsync(
WellKnownIntents
.GenerateConstructor, initialText, currentText, expectedText,
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.CSharp.Features (1)
GenerateConstructorFromMembers\CSharpGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
29
[IntentProvider(
WellKnownIntents
.GenerateConstructor, LanguageNames.CSharp)]
Microsoft.CodeAnalysis.EditorFeatures (5)
ExternalAccess\IntelliCode\Api\IIntentSourceProvider.cs (1)
31
/// The intent name. <see cref="
WellKnownIntents
"/> contains all intents roslyn knows how to handle.
Intents\DeleteParameterIntentProvider.cs (2)
22
[IntentProvider(
WellKnownIntents
.DeleteParameter, LanguageNames.CSharp), Shared]
72
return ImmutableArray.Create(new IntentProcessorResult(changeSignatureResult.UpdatedSolution, changedDocuments, EditorFeaturesResources.Change_Signature,
WellKnownIntents
.DeleteParameter));
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)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.cs (1)
30
[IntentProvider(
WellKnownIntents
.AddConstructorParameter, LanguageNames.CSharp)]