38 references to OptionGroup
Microsoft.CodeAnalysis.Workspaces (38)
Options\Option.cs (4)
21
internal
OptionGroup
Group => _optionDefinition.Group;
41
OptionGroup
.Default,
52
OptionGroup
.Default,
65
OptionGroup
group,
Options\PerLanguageOption.cs (3)
32
OptionGroup
.Default,
43
OptionGroup
.Default,
56
OptionGroup
group,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (3)
121
OptionGroup
group,
134
OptionGroup
group,
146
OptionGroup
group,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (14)
24
OptionGroup
group, string name, CodeStyleOption2<T> defaultValue, Func<CodeStyleOption2<T>, EditorConfigValueSerializer<CodeStyleOption2<T>>>? serializerFactory = null)
28
OptionGroup
group, string name, CodeStyleOption2<T> defaultValue, Func<CodeStyleOption2<T>, EditorConfigValueSerializer<CodeStyleOption2<T>>>? serializerFactory = null)
32
OptionGroup
group, string name, T defaultValue, EditorConfigValueSerializer<T>? serializer = null)
356
public static readonly
OptionGroup
CodeStyle = new(name: "code_style", description: "", priority: 1);
358
public static readonly
OptionGroup
Usings = new("usings", description: CompilerExtensionsResources.Organize_usings, priority: 1, parent: CodeStyle);
359
public static readonly
OptionGroup
ThisOrMe = new("this_or_me", description: CompilerExtensionsResources.this_dot_and_Me_dot_preferences, priority: 2, parent: CodeStyle);
360
public static readonly
OptionGroup
PredefinedTypeNameUsage = new("predefined_type_name_usage", description: CompilerExtensionsResources.Language_keywords_vs_BCL_types_preferences, priority: 3, parent: CodeStyle);
361
public static readonly
OptionGroup
Parentheses = new("parentheses", description: CompilerExtensionsResources.Parentheses_preferences, priority: 4, parent: CodeStyle);
362
public static readonly
OptionGroup
Modifier = new("modifier", description: CompilerExtensionsResources.Modifier_preferences, priority: 5, parent: CodeStyle);
363
public static readonly
OptionGroup
ExpressionLevelPreferences = new("expression_level_preferences", description: CompilerExtensionsResources.Expression_level_preferences, priority: 7, parent: CodeStyle);
364
public static readonly
OptionGroup
Field = new("field", description: CompilerExtensionsResources.Field_preferences, priority: 8, parent: CodeStyle);
365
public static readonly
OptionGroup
Parameter = new("parameter", description: CompilerExtensionsResources.Parameter_preferences, priority: 9, parent: CodeStyle);
366
public static readonly
OptionGroup
Suppressions = new("suppressions", description: CompilerExtensionsResources.Suppression_preferences, priority: 10, parent: CodeStyle);
367
public static readonly
OptionGroup
NewLinePreferences = new("new_line_preferences", description: CompilerExtensionsResources.New_line_preferences, priority: 11, parent: CodeStyle);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\VisualBasic\VisualBasicCodeStyleOptions.cs (1)
19
OptionGroup
group,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (3)
108
public static readonly
OptionGroup
FormattingOptionGroup = new(name: "formatting", description: "", parent: CodeStyleOptionGroups.CodeStyle);
109
public static readonly
OptionGroup
IndentationAndSpacing = new(name: "indentation_and_spacing", description: WorkspacesResources.Indentation_and_spacing, priority: 1, parent: FormattingOptionGroup);
110
public static readonly
OptionGroup
NewLine = new(name: "new_line", description: WorkspacesResources.New_line_preferences, priority: 2, parent: FormattingOptionGroup);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
52
OptionGroup
? group = null,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (4)
29
internal
OptionGroup
Group { get; }
51
public OptionDefinition(
OptionGroup
? group, string configName, object? defaultValue, OptionStorageMapping? storageMapping, bool isEditorConfigOption)
54
Group = group ??
OptionGroup
.Default;
113
OptionGroup
? group,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionGroup.cs (3)
12
internal sealed class OptionGroup(string name, string description, int priority = int.MaxValue,
OptionGroup
? parent = null)
14
public static readonly
OptionGroup
Default = new(string.Empty, string.Empty, int.MaxValue);
19
public
OptionGroup
? Parent { get; } = parent;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
42
OptionGroup
? group = null,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\MemberDisplayOptions.cs (1)
28
public static readonly
OptionGroup
TypeMemberGroup = new(name: "type_members", description: WorkspaceExtensionsResources.Type_members, priority: 3, parent: null);