4 implementations of IsPerLanguage
Microsoft.CodeAnalysis.Workspaces (4)
Options\Option.cs (1)
84bool IOption.IsPerLanguage => false;
Options\PerLanguageOption.cs (1)
80bool IOption.IsPerLanguage => true;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
84bool IOption.IsPerLanguage => false;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
73bool IOption.IsPerLanguage => true;
13 references to IsPerLanguage
dotnet-format (1)
Analyzers\Extensions.cs (1)
146var option = options.GetOption(new OptionKey(codeStyleOption, codeStyleOption.IsPerLanguage ? compilation.Language : null));
Microsoft.CodeAnalysis.Features (5)
CodeFixes\Configuration\ConfigurationUpdater.cs (1)
357builder.Add((option.Definition.ConfigName, optionValue, option.IsPerLanguage));
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (1)
151cancellationToken => ConfigurationUpdater.ConfigureCodeStyleOptionAsync(optionName, optionValue, diagnostic, option.IsPerLanguage, project, cancellationToken),
Options\EditorConfig\EditorConfigFileGenerator.cs (1)
69var optionKey = new OptionKey2(option, option.IsPerLanguage ? language : null);
src\roslyn\src\Analyzers\Core\Analyzers\IDEDiagnosticIdToOptionMappingHelper.cs (2)
39var groups = options.GroupBy(o => o.IsPerLanguage); 47Debug.Assert(perLanguageValuedOption.IsPerLanguage);
Microsoft.CodeAnalysis.Workspaces (7)
Options\OptionKey.cs (3)
26if (language != null && !option.IsPerLanguage) 31if (language == null && option.IsPerLanguage) 76var languageDisplay = Option.IsPerLanguage
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (4)
22Debug.Assert(option.IsPerLanguage == language is not null); 30Debug.Assert(option.IsPerLanguage); 42Debug.Assert(!option.IsPerLanguage); 54var languageDisplay = Option.IsPerLanguage