8 references to BeforeCatch
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpFormattingOptions2.cs (1)
247
CSharpSyntaxFormattingOptions.NewLinesDefault.HasFlag(NewLinePlacement.
BeforeCatch
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (2)
34
NewLinePlacement.
BeforeCatch
|
100
(options.GetOption(CSharpFormattingOptions2.NewLineForCatch) ? NewLinePlacement.
BeforeCatch
: 0) |
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
96
if (!_options.NewLines.HasFlag(NewLinePlacement.
BeforeCatch
))
290
if (_options.NewLines.HasFlag(NewLinePlacement.
BeforeCatch
))
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
116
(newLineForCatch ? NewLinePlacement.
BeforeCatch
: 0) |
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorCSharpSyntaxFormattingOptions.cs (1)
106
BeforeCatch = NewLinePlacement.
BeforeCatch
,
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Formatter\FormatterTests.cs (1)
177
Assert.False(formattingOptions.NewLines.HasFlag(NewLinePlacement.
BeforeCatch
));