2 instantiations of CompletionResult
Microsoft.AspNetCore.App.Analyzers.Test (2)
TestDiagnosticAnalyzer.cs (2)
60return new(doc, completionService, result, completionSpan, shouldTriggerCompletion); 64return new(doc, completionService, default, default, shouldTriggerCompletion);
77 references to CompletionResult
Microsoft.AspNetCore.App.Analyzers.Test (77)
Dependencies\ExtensionMethodsCompletionProviderTests.cs (7)
25var result = await GetCompletionsAndServiceAsync(@" 48var result = await GetCompletionsAndServiceAsync(@" 71var result = await GetCompletionsAndServiceAsync(@" 94var result = await GetCompletionsAndServiceAsync(@" 117var result = await GetCompletionsAndServiceAsync(@" 140var result = await GetCompletionsAndServiceAsync(@" 158private Task<CompletionResult> GetCompletionsAndServiceAsync(string source, CompletionTrigger? completionTrigger = null)
RouteEmbeddedLanguage\FrameworkParametersCompletionProviderTests.cs (40)
18var result = await GetCompletionsAndServiceAsync(@" 46var result = await GetCompletionsAndServiceAsync(@" 74var result = await GetCompletionsAndServiceAsync(@" 102var result = await GetCompletionsAndServiceAsync(@" 130var result = await GetCompletionsAndServiceAsync(@" 160var result = await GetCompletionsAndServiceAsync(@" 188var result = await GetCompletionsAndServiceAsync(@" 216var result = await GetCompletionsAndServiceAsync(@" 244var result = await GetCompletionsAndServiceAsync(@" 272var result = await GetCompletionsAndServiceAsync(@" 294var result = await GetCompletionsAndServiceAsync(@" 316var result = await GetCompletionsAndServiceAsync(@" 341var result = await GetCompletionsAndServiceAsync(@" 366var result = await GetCompletionsAndServiceAsync(@" 388var result = await GetCompletionsAndServiceAsync(@" 412var result = await GetCompletionsAndServiceAsync(@" 437var result = await GetCompletionsAndServiceAsync(@" 461var result = await GetCompletionsAndServiceAsync(@" 483var result = await GetCompletionsAndServiceAsync(@" 505var result = await GetCompletionsAndServiceAsync(@" 538var result = await GetCompletionsAndServiceAsync(@" 571var result = await GetCompletionsAndServiceAsync(@" 602var result = await GetCompletionsAndServiceAsync(@" 643var result = await GetCompletionsAndServiceAsync(@" 676var result = await GetCompletionsAndServiceAsync(@" 703var result = await GetCompletionsAndServiceAsync(@" 730var result = await GetCompletionsAndServiceAsync(@" 759var result = await GetCompletionsAndServiceAsync(@" 783var result = await GetCompletionsAndServiceAsync(@" 808var result = await GetCompletionsAndServiceAsync(@" 830var result = await GetCompletionsAndServiceAsync(@" 853var result = await GetCompletionsAndServiceAsync(@" 882var result = await GetCompletionsAndServiceAsync(@" 909var result = await GetCompletionsAndServiceAsync(@" 942var result = await GetCompletionsAndServiceAsync(@" 972var result = await GetCompletionsAndServiceAsync(@" 1006var result = await GetCompletionsAndServiceAsync(@" 1034var result = await GetCompletionsAndServiceAsync(@" 1067var result = await GetCompletionsAndServiceAsync(@" 1094private Task<CompletionResult> GetCompletionsAndServiceAsync(string source, CompletionTrigger? completionTrigger = null)
RouteEmbeddedLanguage\Infrastructure\CompletionTestHelpers.cs (2)
10public static async Task<CompletionResult> GetCompletionsAndServiceAsync(TestDiagnosticAnalyzerRunner runner, string source, CompletionTrigger? completionTrigger = null) 14var results = completionTrigger != null
RouteEmbeddedLanguage\RoutePatternCompletionProviderTests.cs (26)
21var result = await GetCompletionsAndServiceAsync(@" 46var result = await GetCompletionsAndServiceAsync(@" 77var result = await GetCompletionsAndServiceAsync(@" 102var result = await GetCompletionsAndServiceAsync(@" 131var result = await GetCompletionsAndServiceAsync(@" 160var result = await GetCompletionsAndServiceAsync(@" 189var result = await GetCompletionsAndServiceAsync(@" 217var result = await GetCompletionsAndServiceAsync(@" 241var result = await GetCompletionsAndServiceAsync(@" 265var result = await GetCompletionsAndServiceAsync(@" 290var result = await GetCompletionsAndServiceAsync(@" 319var result = await GetCompletionsAndServiceAsync(@" 348var result = await GetCompletionsAndServiceAsync(@" 377var result = await GetCompletionsAndServiceAsync(@" 413var result = await GetCompletionsAndServiceAsync(@" 454var result = await GetCompletionsAndServiceAsync(@" 476var result = await GetCompletionsAndServiceAsync(@" 498var result = await GetCompletionsAndServiceAsync(@" 527var result = await GetCompletionsAndServiceAsync(@" 554var result = await GetCompletionsAndServiceAsync(@" 581var result = await GetCompletionsAndServiceAsync(@" 610var result = await GetCompletionsAndServiceAsync(@" 643var result = await GetCompletionsAndServiceAsync(@" 665var result = await GetCompletionsAndServiceAsync(@" 690var result = await GetCompletionsAndServiceAsync(@" 709private Task<CompletionResult> GetCompletionsAndServiceAsync(string source, CompletionTrigger? completionTrigger = null)
TestDiagnosticAnalyzer.cs (2)
39public Task<CompletionResult> GetCompletionsAndServiceAsync(int caretPosition, params string[] sources) 46public async Task<CompletionResult> GetCompletionsAndServiceAsync(int caretPosition, CompletionTrigger completionTrigger, params string[] sources)