// 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.Immutable;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Shared.Options
{
internal static class ServiceFeatureOnOffOptions
{
public const string OptionName = "ServiceFeaturesOnOff";
///
/// this option is solely for performance. don't confused by option name.
/// this option doesn't mean we will show all diagnostics that belong to opened files when turned off,
/// rather it means we will only show diagnostics that are cheap to calculate for small scope such as opened files.
///
public static readonly PerLanguageOption ClosedFileDiagnostic = new PerLanguageOption(
OptionName, "Closed File Diagnostic", defaultValue: true, perLanguageDefaults: ImmutableDictionary.Empty.Add(LanguageNames.CSharp, false));
}
}