8 references to BeforeCatch
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CSharpFormattingOptions2.cs (1)
254
CSharpSyntaxFormattingOptions.NewLinesDefault.HasFlag(NewLinePlacement.
BeforeCatch
))
CSharpSyntaxFormattingOptions.cs (3)
34
NewLinePlacement.
BeforeCatch
|
99
(options.GetOption(CSharpFormattingOptions2.NewLineForCatch, fallbackOptions.NewLines.HasFlag(NewLinePlacement.
BeforeCatch
)) ? NewLinePlacement.
BeforeCatch
: 0) |
NewLineUserSettingFormattingRule.cs (2)
96
if (!_options.NewLines.HasFlag(NewLinePlacement.
BeforeCatch
))
270
if (_options.NewLines.HasFlag(NewLinePlacement.
BeforeCatch
))
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
121
(newLineForCatch ? NewLinePlacement.
BeforeCatch
: 0) |
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Formatter\FormatterTests.cs (1)
178
Assert.False(formattingOptions.NewLines.HasFlag(NewLinePlacement.
BeforeCatch
));