8 references to BeforeElse
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CSharpFormattingOptions2.cs (1)
249CSharpSyntaxFormattingOptions.NewLinesDefault.HasFlag(NewLinePlacement.BeforeElse))
CSharpSyntaxFormattingOptions.cs (3)
33NewLinePlacement.BeforeElse | 98(options.GetOption(CSharpFormattingOptions2.NewLineForElse, fallbackOptions.NewLines.HasFlag(NewLinePlacement.BeforeElse)) ? NewLinePlacement.BeforeElse : 0) |
NewLineUserSettingFormattingRule.cs (2)
87if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeElse)) 256if (_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)
177Assert.False(formattingOptions.NewLines.HasFlag(NewLinePlacement.BeforeElse));