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)
31if (_options.NewLines == newOptions.NewLines && 32_options.WrappingKeepStatementsOnSingleLine == newOptions.WrappingKeepStatementsOnSingleLine) 87if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeElse)) 96if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeCatch)) 105if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeFinally)) 114if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInTypes)) 123if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInAnonymousTypes)) 138if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers)) 145if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers)) 171? _options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInProperties) 172: _options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInMethods); 182if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInAccessors)) 191if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInAnonymousMethods)) 200if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInMethods)) 210if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInLambdaExpressionBody)) 219if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers)) 228if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInControlBlocks)) 248if (_options.NewLines.HasFlag(NewLinePlacement.BeforeMembersInObjectInitializers)) 262if (_options.NewLines.HasFlag(NewLinePlacement.BeforeMembersInAnonymousTypes)) 276if (_options.NewLines.HasFlag(NewLinePlacement.BeforeElse) 290if (_options.NewLines.HasFlag(NewLinePlacement.BeforeCatch)) 303if (_options.NewLines.HasFlag(NewLinePlacement.BeforeFinally)) 316if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInTypes)) 329if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInAnonymousTypes)) 346if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers)) 372? _options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInProperties) 373: _options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInMethods); 388if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInAccessors)) 401if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInAnonymousMethods)) 414if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInMethods)) 428if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInLambdaExpressionBody)) 441if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInObjectCollectionArrayInitializers)) 454if (_options.NewLines.HasFlag(NewLinePlacement.BeforeOpenBraceInControlBlocks)) 469&& !_options.WrappingKeepStatementsOnSingleLine)