1 write to _options
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (1)
24
_options
= options;
34 references to _options
Microsoft.CodeAnalysis.CSharp.CodeStyle (34)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (34)
31
if (
_options
.NewLines == newOptions.NewLines &&
32
_options
.WrappingKeepStatementsOnSingleLine == newOptions.WrappingKeepStatementsOnSingleLine)
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))
469
&& !
_options
.WrappingKeepStatementsOnSingleLine)