25 references to SpaceBetweenParentheses
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
32
defaultValue: CSharpFormattingOptions2.
SpaceBetweenParentheses
.DefaultValue.HasFlag(flag),
34
storageMapping: new SpacePlacementInternalStorageMapping(CSharpFormattingOptions2.
SpaceBetweenParentheses
, flag),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
82
options.GetOption(CSharpFormattingOptions2.
SpaceBetweenParentheses
).ToSpacePlacement() |
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
Formatting\FormattingTests.cs (2)
6363
{
SpaceBetweenParentheses
,
SpaceBetweenParentheses
.DefaultValue.WithFlagValue( SpacePlacementWithinParentheses.ControlFlowStatements, true) },
Formatting\FormattingTests_Patterns.cs (4)
150
{ CSharpFormattingOptions2.
SpaceBetweenParentheses
, CSharpFormattingOptions2.
SpaceBetweenParentheses
.DefaultValue.WithFlagValue(SpacePlacementWithinParentheses.Expressions, spaceWithinExpressionParentheses) },
291
{ CSharpFormattingOptions2.
SpaceBetweenParentheses
, CSharpFormattingOptions2.
SpaceBetweenParentheses
.DefaultValue.WithFlagValue(SpacePlacementWithinParentheses.Expressions, spaceWithinExpressionParentheses) },
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Options\DocumentOptionSetTests.cs (1)
155
var option = CSharpFormattingOptions2.
SpaceBetweenParentheses
;
Microsoft.VisualStudio.LanguageServices.CSharp (13)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (3)
52
yield return Setting.CreateEnumFlags(CSharpFormattingOptions2.
SpaceBetweenParentheses
, (int)SpacePlacementWithinParentheses.Expressions, CSharpVSResources.Insert_space_within_parentheses_of_expressions, spaceBetweenParenthesesValue, s_spaceBetweenParenthesesConversions, options, updaterService);
53
yield return Setting.CreateEnumFlags(CSharpFormattingOptions2.
SpaceBetweenParentheses
, (int)SpacePlacementWithinParentheses.TypeCasts, CSharpVSResources.Insert_space_within_parentheses_of_type_casts, spaceBetweenParenthesesValue, s_spaceBetweenParenthesesConversions, options, updaterService);
54
yield return Setting.CreateEnumFlags(CSharpFormattingOptions2.
SpaceBetweenParentheses
, (int)SpacePlacementWithinParentheses.ControlFlowStatements, CSharpVSResources.Insert_spaces_within_parentheses_of_control_flow_statements, spaceBetweenParenthesesValue, s_spaceBetweenParenthesesConversions, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (6)
248
get { return GetBooleanOption(CSharpFormattingOptions2.
SpaceBetweenParentheses
, SpacePlacementWithinParentheses.TypeCasts); }
249
set { SetBooleanOption(CSharpFormattingOptions2.
SpaceBetweenParentheses
, SpacePlacementWithinParentheses.TypeCasts, value); }
254
get { return GetBooleanOption(CSharpFormattingOptions2.
SpaceBetweenParentheses
, SpacePlacementWithinParentheses.Expressions); }
255
set { SetBooleanOption(CSharpFormattingOptions2.
SpaceBetweenParentheses
, SpacePlacementWithinParentheses.Expressions, value); }
260
get { return GetBooleanOption(CSharpFormattingOptions2.
SpaceBetweenParentheses
, SpacePlacementWithinParentheses.ControlFlowStatements); }
261
set { SetBooleanOption(CSharpFormattingOptions2.
SpaceBetweenParentheses
, SpacePlacementWithinParentheses.ControlFlowStatements, value); }
Options\CSharpVisualStudioOptionStorageReadFallbacks.cs (1)
34
=> TryReadFlags(s_storages, (int)CSharpFormattingOptions2.
SpaceBetweenParentheses
.DefaultValue, readValue, out var intValue) ? (SpacePlacementWithinParentheses)intValue : default(Optional<object?>);
Options\Formatting\SpacingViewModel.cs (3)
143
Items.Add(new CheckBoxEnumFlagsOptionViewModel<SpacePlacementWithinParentheses>(CSharpFormattingOptions2.
SpaceBetweenParentheses
, (int)SpacePlacementWithinParentheses.Expressions, CSharpVSResources.Insert_space_within_parentheses_of_expressions, s_expressionPreview, this, optionStore, spaceBetweenParenthesesStorage, s_spaceBetweenParenthesesConversions));
144
Items.Add(new CheckBoxEnumFlagsOptionViewModel<SpacePlacementWithinParentheses>(CSharpFormattingOptions2.
SpaceBetweenParentheses
, (int)SpacePlacementWithinParentheses.TypeCasts, CSharpVSResources.Insert_space_within_parentheses_of_type_casts, s_castPreview, this, optionStore, spaceBetweenParenthesesStorage, s_spaceBetweenParenthesesConversions));
145
Items.Add(new CheckBoxEnumFlagsOptionViewModel<SpacePlacementWithinParentheses>(CSharpFormattingOptions2.
SpaceBetweenParentheses
, (int)SpacePlacementWithinParentheses.ControlFlowStatements, CSharpVSResources.Insert_spaces_within_parentheses_of_control_flow_statements, s_forDelimiterPreview, this, optionStore, spaceBetweenParenthesesStorage, s_spaceBetweenParenthesesConversions));
Roslyn.VisualStudio.Next.UnitTests (2)
Options\VisualStudioStorageReadFallbackTests.cs (2)
34
CSharpFormattingOptions2.
SpaceBetweenParentheses
.DefaultValue & ~SpacePlacementWithinParentheses.Expressions);
39
CSharpFormattingOptions2.
SpaceBetweenParentheses
.DefaultValue | SpacePlacementWithinParentheses.Expressions);