2 overrides of GetChangeAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Completion\CompletionFeaturesTests.cs (1)
896public override Task<CompletionChange> GetChangeAsync(Document document, CodeAnalysis.Completion.CompletionItem item, char? commitCharacter = null, CancellationToken cancellationToken = default)
Completion\CompletionResolveTests.cs (1)
497public override Task<CompletionChange> GetChangeAsync(
19 references to GetChangeAsync
Microsoft.AspNetCore.App.Analyzers.Test (14)
RouteEmbeddedLanguage\FrameworkParametersCompletionProviderTests.cs (10)
37var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 65var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 93var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 121var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 151var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 179var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 207var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 235var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 263var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 997var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]);
RouteEmbeddedLanguage\RoutePatternCompletionProviderTests.cs (4)
69var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 122var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 151var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]); 180var change = await result.Service.GetChangeAsync(result.Document, result.Completions.ItemsList[0]);
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\CommitManager.cs (1)
232change = completionService.GetChangeAsync(document, roslynItem, commitCharacter, cancellationToken).WaitAndGetResult(cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Completion\AbstractCompletionProviderTests.cs (2)
509var commit = await service.GetChangeAsync(document, completionItem, commitChar, CancellationToken.None); 605var textChange = (await service.GetChangeAsync(document, firstItem, commitChar, CancellationToken.None)).TextChange;
Microsoft.CodeAnalysis.Features (1)
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (1)
203var change = await service.GetChangeAsync(document, item, commitCharacter: null, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionResultFactory.cs (1)
550return await completionService.GetChangeAsync(document, completionItem, cancellationToken: cancellationToken).ConfigureAwait(false);