46 references to Invoke
Microsoft.AspNetCore.App.Analyzers.Test (13)
Dependencies\ExtensionMethodsCompletionProviderTests.cs (1)
16[CompletionTrigger.Invoke],
RouteEmbeddedLanguage\FrameworkParametersCompletionProviderTests.cs (4)
200", CompletionTrigger.Invoke); 228", CompletionTrigger.Invoke); 256", CompletionTrigger.Invoke); 990", CompletionTrigger.Invoke);
RouteEmbeddedLanguage\RoutePatternCompletionProviderTests.cs (8)
91", CompletionTrigger.Invoke); 116", CompletionTrigger.Invoke); 145", CompletionTrigger.Invoke); 174", CompletionTrigger.Invoke); 336", CompletionTrigger.Invoke); 654", CompletionTrigger.Invoke); 676", CompletionTrigger.Invoke); 702", CompletionTrigger.Invoke);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (13)
Completion\CompletionProviders\AbstractCSharpCompletionProviderTests.cs (1)
186var completionList = await GetCompletionListAsync(service, document, position, RoslynTrigger.Invoke);
Completion\CompletionProviders\CrefCompletionProviderTests.cs (1)
462var completionList = await GetCompletionListAsync(service, document, hostDocument.CursorPosition!.Value, RoslynTrigger.Invoke);
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (6)
2471var triggerInfo = CompletionTrigger.Invoke; 2724var triggerInfo = CompletionTrigger.Invoke; 2779var triggerInfo = CompletionTrigger.Invoke; 3065var completionList = await GetCompletionListAsync(service, document, testDocument.CursorPosition.Value, CompletionTrigger.Invoke); 3201var completionList = await GetCompletionListAsync(service, document, testDocument.CursorPosition.Value, CompletionTrigger.Invoke); 3255var completionList = await GetCompletionListAsync(service, document, testDocument.CursorPosition.Value, CompletionTrigger.Invoke);
Completion\CompletionProviders\SuggestionModeCompletionProviderTests.cs (1)
1526CompletionTrigger.Invoke,
Completion\CompletionServiceTests.cs (4)
115service.ShouldTriggerCompletion(text, 1, CompletionTrigger.Invoke, options: options); 118await service.GetCompletionsAsync(document, 1, CompletionTrigger.Invoke, options: options); 142service.ShouldTriggerCompletion(text, 1, CompletionTrigger.Invoke, options: null); 145await service.GetCompletionsAsync(document, 1, CompletionTrigger.Invoke, options: null);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (9)
Completion\AbstractCompletionProviderTests.cs (9)
179var trigger = RoslynCompletion.CompletionTrigger.Invoke; 374return await GetCompletionListAsync(GetCompletionService(currentDocument.Project), currentDocument, position, RoslynCompletion.CompletionTrigger.Invoke, options).ConfigureAwait(false); 613var completionList = await GetCompletionListAsync(service, document, position, RoslynCompletion.CompletionTrigger.Invoke); 737var completionList = await GetCompletionListAsync(service, document, position, RoslynCompletion.CompletionTrigger.Invoke); 963var triggerInfo = RoslynCompletion.CompletionTrigger.Invoke; 1018var triggerInfo = RoslynCompletion.CompletionTrigger.Invoke; 1048var triggerInfo = RoslynCompletion.CompletionTrigger.Invoke; 1327var completionList = await GetCompletionListAsync(service, document, position, RoslynCompletion.CompletionTrigger.Invoke); 1355: RoslynCompletion.CompletionTrigger.Invoke;
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
IntelliSense\CompletionServiceTests.vb (2)
40document, caretPosition:=0, CompletionOptions.Default, OptionSet.Empty, CompletionTrigger.Invoke) 105document, caretPosition:=0, CompletionOptions.Default, OptionSet.Empty, CompletionTrigger.Invoke,
IntelliSense\CompletionServiceTests_Exclusivitiy.vb (1)
45document, caretPosition:=0, CompletionOptions.Default, OptionSet.Empty, CompletionTrigger.Invoke)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (1)
11624document, caretPosition:=cursorPosition, CompletionOptions.Default, OptionSet.Empty, CompletionTrigger.Invoke)
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionTrigger.cs (1)
39/// Do not use. Use <see cref="Invoke"/> instead.
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Extensions\ProtocolConversions.cs (5)
130return Completion.CompletionTrigger.Invoke; 136return Completion.CompletionTrigger.Invoke; 142return Completion.CompletionTrigger.Invoke; 156return Completion.CompletionTrigger.Invoke; 169return Completion.CompletionTrigger.Invoke;
Handler\Completion\CompletionHandler.cs (1)
133var originalTrigger = CompletionTrigger.Invoke;