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