30 references to OptionGroup
Microsoft.CodeAnalysis.CodeStyle (30)
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)
23
OptionGroup
group, string name, CodeStyleOption2<T> defaultValue, Func<CodeStyleOption2<T>, EditorConfigValueSerializer<CodeStyleOption2<T>>>? serializerFactory = null)
27
OptionGroup
group, string name, CodeStyleOption2<T> defaultValue, Func<CodeStyleOption2<T>, EditorConfigValueSerializer<CodeStyleOption2<T>>>? serializerFactory = null)
31
OptionGroup
group, string name, T defaultValue, EditorConfigValueSerializer<T>? serializer = null)
355
public static readonly
OptionGroup
CodeStyle = new(name: "code_style", description: "", priority: 1);
357
public static readonly
OptionGroup
Usings = new("usings", description: CompilerExtensionsResources.Organize_usings, priority: 1, parent: CodeStyle);
358
public static readonly
OptionGroup
ThisOrMe = new("this_or_me", description: CompilerExtensionsResources.this_dot_and_Me_dot_preferences, priority: 2, parent: CodeStyle);
359
public static readonly
OptionGroup
PredefinedTypeNameUsage = new("predefined_type_name_usage", description: CompilerExtensionsResources.Language_keywords_vs_BCL_types_preferences, priority: 3, parent: CodeStyle);
360
public static readonly
OptionGroup
Parentheses = new("parentheses", description: CompilerExtensionsResources.Parentheses_preferences, priority: 4, parent: CodeStyle);
361
public static readonly
OptionGroup
Modifier = new("modifier", description: CompilerExtensionsResources.Modifier_preferences, priority: 5, parent: CodeStyle);
362
public static readonly
OptionGroup
ExpressionLevelPreferences = new("expression_level_preferences", description: CompilerExtensionsResources.Expression_level_preferences, priority: 7, parent: CodeStyle);
363
public static readonly
OptionGroup
Field = new("field", description: CompilerExtensionsResources.Field_preferences, priority: 8, parent: CodeStyle);
364
public static readonly
OptionGroup
Parameter = new("parameter", description: CompilerExtensionsResources.Parameter_preferences, priority: 9, parent: CodeStyle);
365
public static readonly
OptionGroup
Suppressions = new("suppressions", description: CompilerExtensionsResources.Suppression_preferences, priority: 10, parent: CodeStyle);
366
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)
109
public static readonly
OptionGroup
FormattingOptionGroup = new(name: "formatting", description: "", parent: CodeStyleOptionGroups.CodeStyle);
110
public static readonly
OptionGroup
IndentationAndSpacing = new(name: "indentation_and_spacing", description: CompilerExtensionsResources.Indentation_and_spacing, priority: 1, parent: FormattingOptionGroup);
111
public static readonly
OptionGroup
NewLine = new(name: "new_line", description: CompilerExtensionsResources.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)
30
internal
OptionGroup
Group { get; }
52
public OptionDefinition(
OptionGroup
? group, string configName, object? defaultValue, OptionStorageMapping? storageMapping, bool isEditorConfigOption)
55
Group = group ??
OptionGroup
.Default;
114
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,