1 write to Spacing
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
73
Spacing
=
40 references to Spacing
Microsoft.CodeAnalysis.CSharp.CodeStyle (40)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (40)
34
if (_options.
Spacing
== newOptions.Spacing &&
61
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterMethodDeclarationName));
75
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterMethodDeclarationName));
88
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterMethodDeclarationName));
94
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterMethodDeclarationName));
99
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BetweenEmptyMethodDeclarationParentheses));
104
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinMethodDeclarationParenthesis));
109
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinMethodDeclarationParenthesis));
118
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterMethodCallName));
123
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BetweenEmptyMethodCallParentheses));
128
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinMethodCallParentheses));
133
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinMethodCallParentheses));
139
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterMethodCallName));
144
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinMethodCallParentheses));
149
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinMethodCallParentheses));
159
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterControlFlowStatementKeyword));
166
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinExpressionParentheses));
173
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinCastParentheses));
182
|| _options.
Spacing
.HasFlag(SpacePlacement.BeforeSemicolonsInForStatement)))
184
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BeforeSemicolonsInForStatement));
187
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterSemicolonsInForStatement));
193
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinOtherParentheses));
198
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinOtherParentheses));
204
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterCast));
213
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterComma));
226
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BeforeOpenSquareBracket));
234
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BetweenEmptySquareBrackets));
240
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinSquareBrackets));
245
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinSquareBrackets));
271
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterColonInBaseTypeDeclaration));
277
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BeforeColonInBaseTypeDeclaration));
288
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterComma));
299
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BeforeComma));
305
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterDot));
311
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BeforeDot));
317
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.AfterSemicolonsInForStatement));
323
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.BeforeSemicolonsInForStatement));
447
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinMethodDeclarationParenthesis));
454
return AdjustSpacesOperationZeroOrOne(_options.
Spacing
.HasFlag(SpacePlacement.WithinMethodDeclarationParenthesis));
583
if (_options.
Spacing
.HasFlag(SpacePlacement.IgnoreAroundVariableDeclaration))