23 references to awaitable
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (18)
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (2)
8248
""", "goo", $@"({CSharpFeaturesResources.
awaitable
}) Task Program.goo()", "C#");
8262
""", "goo", $@"({CSharpFeaturesResources.
awaitable
}) Task<int> Program.goo()", "C#");
QuickInfo\SemanticQuickInfoSourceTests.cs (13)
1705
""", MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, $"({CSharpFeaturesResources.
awaitable
}) class System.Threading.Tasks.Task<TResult>")),
1767
""", MainDescription($"({CSharpFeaturesResources.
awaitable
}) class C"));
1780
""", MainDescription($"({CSharpFeaturesResources.
awaitable
}) class System.Threading.Tasks.Task"));
1794
""", MainDescription($"({CSharpFeaturesResources.
awaitable
}) class System.Threading.Tasks.Task<TResult>"),
4998
""", MainDescription($"({CSharpFeaturesResources.
awaitable
}) Task C.Goo()"));
9612
MainDescription($"({CSharpFeaturesResources.
awaitable
}) ValueTask C.DisposeAsync()"));
9644
MainDescription($"({CSharpFeaturesResources.
awaitable
}) ValueTask CBase.DisposeAsync()"));
9674
MainDescription($"({CSharpFeaturesResources.
awaitable
}) ValueTask C.DisposeAsync()"));
9696
MainDescription($"({CSharpFeaturesResources.
awaitable
}) ValueTask IAsyncDisposable.DisposeAsync()"));
9745
MainDescription($"({CSharpFeaturesResources.
awaitable
}) ValueTask S.DisposeAsync()"));
9775
MainDescription($"({CSharpFeaturesResources.
awaitable
}) ValueTask S.DisposeAsync()"));
9797
MainDescription($"({CSharpFeaturesResources.
awaitable
}) ValueTask IAsyncDisposable.DisposeAsync()"));
9840
MainDescription($"({CSharpFeaturesResources.
awaitable
}) ValueTask IAsyncDisposable.DisposeAsync()"));
SignatureHelp\GenericNamePartiallyWrittenSignatureHelpProviderTests.cs (1)
118
new($"({CSharpFeaturesResources.
awaitable
}) Task<int> Program.Goo<T>()", methodDocumentation: string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\InvocationExpressionSignatureHelpProviderTests.cs (2)
1392
""", [new SignatureHelpTestItem($"({CSharpFeaturesResources.
awaitable
}) Task C.Goo()", methodDocumentation: string.Empty, currentParameterIndex: 0)], "C#");
1405
""", [new SignatureHelpTestItem($"({CSharpFeaturesResources.
awaitable
}) Task<Task<int>> C.Goo()", methodDocumentation: string.Empty, currentParameterIndex: 0)], "C#");
Microsoft.CodeAnalysis.CSharp.Features (5)
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (1)
73
PlainText(CSharpFeaturesResources.
awaitable
),
SignatureHelp\AbstractGenericNameSignatureHelpProvider_Method.cs (2)
25
result.Add(Text(CSharpFeaturesResources.
awaitable
));
34
result.Add(Text(CSharpFeaturesResources.
awaitable
));
SignatureHelp\AbstractOrdinaryMethodSignatureHelpProvider.cs (2)
61
result.Add(Text(CSharpFeaturesResources.
awaitable
));
70
result.Add(Text(CSharpFeaturesResources.
awaitable
));