6 implementations of IsPerLanguage
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
95public bool IsPerLanguage => true;
Microsoft.CodeAnalysis.Workspaces (4)
Options\Option.cs (1)
84bool IOption.IsPerLanguage => false;
Options\PerLanguageOption.cs (1)
80bool IOption.IsPerLanguage => true;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
85bool IOption.IsPerLanguage => false;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
73bool IOption.IsPerLanguage => true;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\TestOption.cs (1)
17public bool IsPerLanguage { get; set; }
16 references to IsPerLanguage
Microsoft.CodeAnalysis.EditorFeatures (2)
EditorConfigSettings\Data\TieredAnalyzerConfigOptions.cs (1)
32initialValue = GlobalOptions.GetOption<TValue>(new OptionKey2(option, option.IsPerLanguage ? Language : null))!;
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (1)
89else if (option.IsPerLanguage)
Microsoft.CodeAnalysis.Features (4)
CodeFixes\Configuration\ConfigurationUpdater.cs (1)
357builder.Add((option.Definition.ConfigName, optionValue, option.IsPerLanguage));
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (1)
152cancellationToken => ConfigurationUpdater.ConfigureCodeStyleOptionAsync(optionName, optionValue, diagnostic, option.IsPerLanguage, project, cancellationToken),
src\Analyzers\Core\Analyzers\IDEDiagnosticIdToOptionMappingHelper.cs (2)
44var groups = options.GroupBy(o => o.IsPerLanguage); 52Debug.Assert(perLanguageValuedOption.IsPerLanguage);
Microsoft.CodeAnalysis.Workspaces (7)
Options\OptionKey.cs (3)
27if (language != null && !option.IsPerLanguage) 32if (language == null && option.IsPerLanguage) 77var languageDisplay = Option.IsPerLanguage
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (4)
23Debug.Assert(option.IsPerLanguage == language is not null); 31Debug.Assert(option.IsPerLanguage); 43Debug.Assert(!option.IsPerLanguage); 55var languageDisplay = Option.IsPerLanguage
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestHelpers.cs (1)
114=> option.IsPerLanguage ? [LanguageNames.CSharp, LanguageNames.VisualBasic] : [null];
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Simplifier\SimplifierTests.cs (1)
114var languages = option.IsPerLanguage ? [LanguageNames.CSharp, LanguageNames.VisualBasic] : new string?[] { null };
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\InternalOptionsControl.cs (1)
114if (!option.IsPerLanguage)