Repository: dotnet/roslyn
File: src/Features/Core/Portable/Completion/CompletionService.cs (C#)

Code before:
            }
            else if (comparison < 0)
            {
                // This item is strictly better than the best items we've found so far.
                builder.Clear();
                builder.Add(matchResult);
            }
        }
    }

    internal static bool IsAllPunctuation(string filterText)
    {
        foreach (var ch in filterText)
        {
            if (!char.IsPunctuation(ch))
            {
                return false;
            }
        }

        return true;
    }

    internal virtual Task<bool> IsSpeculativeTypeParameterContextAsync(Document document, int position, CancellationToken cancellationToken)
    {
        return Task.FromResult(false);
    }

    /// <summary>
    /// Don't call. Used for pre-populating MEF providers only.
    /// </summary>
    internal void LoadImportedProviders()
        => _providerManager.LoadProviders();

    /// <summary>
    /// Don't call. Used for pre-load project providers only.
    /// </summary>
    internal void TriggerLoadProjectProviders(Project project, CompletionOptions options)
            => _providerManager.GetCachedProjectCompletionProvidersOrQueueLoadInBackground(project, options);

    internal CompletionProvider? GetProvider(CompletionItem item, Project? project)
        => _providerManager.GetProvider(item, project);

    internal TestAccessor GetTestAccessor()
        => new(this);

    internal readonly struct TestAccessor(CompletionService completionServiceWithProviders)
    {
        private readonly CompletionService _completionServiceWithProviders = completionServiceWithProviders;

        public ImmutableArray<CompletionProvider> GetImportedAndBuiltInProviders(ImmutableHashSet<string> roles)

Review comment (suggestion):
```suggestion
        return SpecializedTasks.False;
```

Code after:
            }
            else if (comparison < 0)
            {
                // This item is strictly better than the best items we've found so far.
                builder.Clear();
                builder.Add(matchResult);
            }
        }
    }

    internal static bool IsAllPunctuation(string filterText)
    {
        foreach (var ch in filterText)
        {
            if (!char.IsPunctuation(ch))
            {
                return false;
            }
        }

        return true;
    }

    internal virtual Task<bool> IsSpeculativeTypeParameterContextAsync(Document document, int position, CancellationToken cancellationToken)
    {
        return SpecializedTasks.False;
    }

    /// <summary>
    /// Don't call. Used for pre-populating MEF providers only.
    /// </summary>
    internal void LoadImportedProviders()
        => _providerManager.LoadProviders();

    /// <summary>
    /// Don't call. Used for pre-load project providers only.
    /// </summary>
    internal void TriggerLoadProjectProviders(Project project, CompletionOptions options)
            => _providerManager.GetCachedProjectCompletionProvidersOrQueueLoadInBackground(project, options);

    internal CompletionProvider? GetProvider(CompletionItem item, Project? project)
        => _providerManager.GetProvider(item, project);

    internal TestAccessor GetTestAccessor()
        => new(this);

    internal readonly struct TestAccessor(CompletionService completionServiceWithProviders)
    {
        private readonly CompletionService _completionServiceWithProviders = completionServiceWithProviders;

        public ImmutableArray<CompletionProvider> GetImportedAndBuiltInProviders(ImmutableHashSet<string> roles)