8 references to SpaceAfterControlFlowStatementKeyword
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
89
/// <inheritdoc cref="CSharpFormattingOptions2.
SpaceAfterControlFlowStatementKeyword
"/>
90
public static Option<bool> SpaceAfterControlFlowStatementKeyword { get; } = CSharpFormattingOptions2.
SpaceAfterControlFlowStatementKeyword
.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
81
(options.GetOption(CSharpFormattingOptions2.
SpaceAfterControlFlowStatementKeyword
) ? SpacePlacement.AfterControlFlowStatementKeyword : 0) |
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Formatting\FormattingTests.cs (1)
6459
var optionSet = new OptionsCollection(LanguageNames.CSharp) { { CSharpFormattingOptions2.
SpaceAfterControlFlowStatementKeyword
, false } };
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
49
yield return Setting.Create(CSharpFormattingOptions2.
SpaceAfterControlFlowStatementKeyword
, CSharpVSResources.Insert_space_after_keywords_in_control_flow_statements, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
242
get { return GetBooleanOption(CSharpFormattingOptions2.
SpaceAfterControlFlowStatementKeyword
); }
243
set { SetBooleanOption(CSharpFormattingOptions2.
SpaceAfterControlFlowStatementKeyword
, value); }
Options\Formatting\SpacingViewModel.cs (1)
140
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
SpaceAfterControlFlowStatementKeyword
, CSharpVSResources.Insert_space_after_keywords_in_control_flow_statements, s_forDelimiterPreview, this, optionStore));