8 references to BeforeElse
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CSharpFormattingOptions2.cs (1)
249
CSharpSyntaxFormattingOptions.NewLinesDefault.HasFlag(NewLinePlacement.
BeforeElse
))
CSharpSyntaxFormattingOptions.cs (3)
33
NewLinePlacement.
BeforeElse
|
98
(options.GetOption(CSharpFormattingOptions2.NewLineForElse, fallbackOptions.NewLines.HasFlag(NewLinePlacement.
BeforeElse
)) ? NewLinePlacement.
BeforeElse
: 0) |
NewLineUserSettingFormattingRule.cs (2)
87
if (!_options.NewLines.HasFlag(NewLinePlacement.
BeforeElse
))
256
if (_options.NewLines.HasFlag(NewLinePlacement.
BeforeElse
)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
120
(newLineForElse ? NewLinePlacement.
BeforeElse
: 0) |
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Formatter\FormatterTests.cs (1)
177
Assert.False(formattingOptions.NewLines.HasFlag(NewLinePlacement.
BeforeElse
));