7 references to BeforeOpenBraceInTypes
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
36
NewLinePlacement.
BeforeOpenBraceInTypes
|
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\NewLineBeforeOpenBracePlacement.cs (2)
28
=> (value.HasFlag(NewLinePlacement.
BeforeOpenBraceInTypes
) ? NewLineBeforeOpenBracePlacement.Types : 0) |
39
=> (value.HasFlag(NewLineBeforeOpenBracePlacement.Types) ? NewLinePlacement.
BeforeOpenBraceInTypes
: 0) |
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
114
if (!_options.NewLines.HasFlag(NewLinePlacement.
BeforeOpenBraceInTypes
))
316
if (_options.NewLines.HasFlag(NewLinePlacement.
BeforeOpenBraceInTypes
))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (2)
385
.WithAppendedTrailingTrivia(newLinePlacement.HasFlag(NewLinePlacement.
BeforeOpenBraceInTypes
) ? EndOfLine(lineEnding) : Space);
418
if (newLinePlacement.HasFlag(NewLinePlacement.
BeforeOpenBraceInTypes
))