8 references to BeforeCatch
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CSharpFormattingOptions2.cs (1)
254CSharpSyntaxFormattingOptions.NewLinesDefault.HasFlag(NewLinePlacement.BeforeCatch))
CSharpSyntaxFormattingOptions.cs (3)
34NewLinePlacement.BeforeCatch | 99(options.GetOption(CSharpFormattingOptions2.NewLineForCatch, fallbackOptions.NewLines.HasFlag(NewLinePlacement.BeforeCatch)) ? NewLinePlacement.BeforeCatch : 0) |
NewLineUserSettingFormattingRule.cs (2)
96if (!_options.NewLines.HasFlag(NewLinePlacement.BeforeCatch)) 270if (_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)
178Assert.False(formattingOptions.NewLines.HasFlag(NewLinePlacement.BeforeCatch));