1 write to NewLines
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
96
NewLines
=
34 references to NewLines
Microsoft.CodeAnalysis.CSharp.CodeStyle (34)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (32)
31
if (_options.
NewLines
== newOptions.NewLines &&
87
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeElse))
96
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeCatch))
105
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeFinally))
114
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInTypes))
123
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInAnonymousTypes))
138
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers))
145
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers))
171
? _options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInProperties)
172
: _options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInMethods);
182
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInAccessors))
191
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInAnonymousMethods))
200
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInMethods))
210
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInLambdaExpressionBody))
219
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers))
228
if (!_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInControlBlocks))
248
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeMembersInObjectInitializers))
262
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeMembersInAnonymousTypes))
276
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeElse)
290
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeCatch))
303
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeFinally))
316
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInTypes))
329
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInAnonymousTypes))
346
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers))
372
? _options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInProperties)
373
: _options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInMethods);
388
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInAccessors))
401
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInAnonymousMethods))
414
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInMethods))
428
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInLambdaExpressionBody))
441
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers))
454
if (_options.
NewLines
.HasFlag(NewLinePlacement.BeforeOpenBraceInControlBlocks))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (2)
34
if (_options.
NewLines
.HasFlag(NewLinePlacement.BetweenQueryExpressionClauses) == newOptions.NewLines.HasFlag(NewLinePlacement.BetweenQueryExpressionClauses))
159
if (_options.
NewLines
.HasFlag(NewLinePlacement.BetweenQueryExpressionClauses))