зеркало из https://github.com/dotnet/razor.git
PR feedback
This commit is contained in:
Родитель
a6f4e5ab12
Коммит
ddd8a544ef
|
@ -155,3 +155,6 @@ yarn-*.log
|
|||
|
||||
# Bundled extension assets
|
||||
*.vsix
|
||||
|
||||
# testapp modifications
|
||||
src/Razor/test/testapps/ComponentApp/Components/Pages/Generated.razor
|
|
@ -242,7 +242,7 @@ internal class LanguageServerTagHelperCompletionService : TagHelperCompletionSer
|
|||
var completionTagName = kvp.Key;
|
||||
var tagHelperDescriptors = kvp.Value;
|
||||
|
||||
if (tagHelperDescriptors.Any() ||
|
||||
if (tagHelperDescriptors.Count > 0 ||
|
||||
(!string.IsNullOrEmpty(prefix) && completionTagName.StartsWith(prefix, StringComparison.OrdinalIgnoreCase)))
|
||||
{
|
||||
// The current completion either has other TagHelper's associated with it or is prefixed with a non-empty
|
||||
|
|
Загрузка…
Ссылка в новой задаче