// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Composition; using Microsoft.CodeAnalysis.Options; using Microsoft.CodeAnalysis.Options.Providers; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Shared.Options { [ExportOptionProvider, Shared] internal class ServiceComponentOnOffOptionsProvider : IOptionProvider { private readonly IEnumerable _options = ImmutableArray.Create( ServiceComponentOnOffOptions.DiagnosticProvider, ServiceComponentOnOffOptions.SymbolSearch); public IEnumerable GetOptions() => _options; } }