8 references to BeforeElse
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpFormattingOptions2.cs (1)
242
CSharpSyntaxFormattingOptions.NewLinesDefault.HasFlag(NewLinePlacement.
BeforeElse
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (2)
33
NewLinePlacement.
BeforeElse
|
99
(options.GetOption(CSharpFormattingOptions2.NewLineForElse) ? NewLinePlacement.
BeforeElse
: 0) |
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
87
if (!_options.NewLines.HasFlag(NewLinePlacement.
BeforeElse
))
276
if (_options.NewLines.HasFlag(NewLinePlacement.
BeforeElse
)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
115
(newLineForElse ? NewLinePlacement.
BeforeElse
: 0) |
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorCSharpSyntaxFormattingOptions.cs (1)
105
BeforeElse = NewLinePlacement.
BeforeElse
,
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Formatter\FormatterTests.cs (1)
176
Assert.False(formattingOptions.NewLines.HasFlag(NewLinePlacement.
BeforeElse
));