16 references to PerLanguageOption2
Microsoft.CodeAnalysis.Workspaces (16)
Recommendations\RecommendationOptions.cs (2)
20
public static readonly PerLanguageOption2<bool> HideAdvancedMembers = new
PerLanguageOption2
<bool>(
24
public static readonly PerLanguageOption2<bool> FilterOutOfScopeLocals = new
PerLanguageOption2
<bool>(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
149
var option = new
PerLanguageOption2
<CodeStyleOption2<T>>(name, defaultValue, group, isEditorConfigOption: true, serializer: (serializerFactory ?? EditorConfigValueSerializer.CodeStyle).Invoke(defaultValue));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\FadingOptions.cs (2)
12
public static readonly PerLanguageOption2<bool> FadeOutUnusedImports =
new
("dotnet_fade_out_unused_imports", defaultValue: true);
13
public static readonly PerLanguageOption2<bool> FadeOutUnreachableCode =
new
("dotnet_fade_out_unreachable_code", defaultValue: true);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Editing\GenerationOptions.cs (2)
15
public static readonly PerLanguageOption2<bool> PlaceSystemNamespaceFirst =
new
(
21
public static readonly PerLanguageOption2<bool> SeparateImportDirectiveGroups =
new
(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (7)
27
public static PerLanguageOption2<bool> UseTabs = new
PerLanguageOption2
<bool>(
32
public static PerLanguageOption2<int> TabSize = new
PerLanguageOption2
<int>(
36
public static PerLanguageOption2<int> IndentationSize = new
PerLanguageOption2
<int>(
40
public static PerLanguageOption2<string> NewLine = new
PerLanguageOption2
<string>(
62
public static PerLanguageOption2<IndentStyle> SmartIndent = new
PerLanguageOption2
<IndentStyle>(
80
public static readonly PerLanguageOption2<int> WrappingColumn =
new
(
88
public static readonly PerLanguageOption2<int> ConditionalExpressionWrappingLength =
new
(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyleOptions.cs (1)
24
internal static PerLanguageOption2<NamingStylePreferences> NamingPreferences { get; } =
new
(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\MemberDisplayOptions.cs (1)
30
public static readonly PerLanguageOption2<bool> HideAdvancedMembers =
new
(