8 references to BeforeOpenBraceInLambdaExpressionBody
Microsoft.CodeAnalysis.CSharp.Features (1)
BraceCompletion\CurlyBraceCompletionService.cs (1)
185
return options.NewLines.HasFlag(NewLinePlacement.
BeforeOpenBraceInLambdaExpressionBody
);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
CSharpSyntaxFormattingOptions.cs (1)
43
NewLinePlacement.
BeforeOpenBraceInLambdaExpressionBody
|
NewLineBeforeOpenBracePlacement.cs (2)
35
(value.HasFlag(NewLinePlacement.
BeforeOpenBraceInLambdaExpressionBody
) ? NewLineBeforeOpenBracePlacement.LambdaExpressionBody : 0) |
46
(value.HasFlag(NewLineBeforeOpenBracePlacement.LambdaExpressionBody) ? NewLinePlacement.
BeforeOpenBraceInLambdaExpressionBody
: 0) |
NewLineUserSettingFormattingRule.cs (2)
190
if (!_options.NewLines.HasFlag(NewLinePlacement.
BeforeOpenBraceInLambdaExpressionBody
))
408
if (_options.NewLines.HasFlag(NewLinePlacement.
BeforeOpenBraceInLambdaExpressionBody
))
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
130
(newLinesForBracesInLambdaExpressionBody ? NewLinePlacement.
BeforeOpenBraceInLambdaExpressionBody
: 0) |
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Formatter\FormatterTests.cs (1)
187
Assert.False(formattingOptions.NewLines.HasFlag(NewLinePlacement.
BeforeOpenBraceInLambdaExpressionBody
));