9 references to OneLess
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpFormattingOptions2.cs (1)
43
KeyValuePairUtil.Create("one_less_than_current", LabelPositionOptions.
OneLess
),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
58
[DataMember] public LabelPositionOptions LabelPositioning { get; init; } = LabelPositionOptions.
OneLess
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (1)
139
if (_options.LabelPositioning == LabelPositionOptions.
OneLess
)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
CodeStyle\CSharpEditorConfigCodeStyleParserTests.cs (2)
33
[InlineData("one_less_than_current", LabelPositionOptions.
OneLess
)]
38
[InlineData(" one_less_than_current ", LabelPositionOptions.
OneLess
)]
Formatting\EditorConfigOptionParserTests.cs (1)
57
InlineData("one_less_than_current", LabelPositionOptions.
OneLess
)]
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
16
OneLess = LabelPositionOptions.
OneLess
,
Microsoft.VisualStudio.LanguageServices.CSharp (2)
EditorConfigSettings\LabelPositionOptionsViewModel.cs (1)
63
yield return (CSharpVSResources.Place_goto_labels_one_indent_less_than_current, LabelPositionOptions.
OneLess
);
Options\Formatting\IndentationViewModel.cs (1)
91
Items.Add(new RadioButtonViewModel<LabelPositionOptions>(CSharpVSResources.Place_goto_labels_one_indent_less_than_current, GotoLabelPreview, "goto", LabelPositionOptions.
OneLess
, CSharpFormattingOptions2.LabelPositioning, this, optionStore));