6 references to DefaultSpacesIfOnSingleLine
Microsoft.CodeAnalysis.CodeStyle (4)
AbstractTriviaFormatter.cs (1)
451
if (spaceOperation.Option == AdjustSpacesOption.
DefaultSpacesIfOnSingleLine
&&
AdjustSpacesOption.cs (1)
18
/// <see cref="
DefaultSpacesIfOnSingleLine
"/> means a default space operation created by the formatting
FormattingOperations.cs (2)
19
private static readonly AdjustSpacesOperation s_defaultOneSpaceIfOnSingleLine = new(1, AdjustSpacesOption.
DefaultSpacesIfOnSingleLine
);
124
if (space == 1 && option == AdjustSpacesOption.
DefaultSpacesIfOnSingleLine
)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
DefaultOperationProvider.cs (1)
45
return FormattingOperations.CreateAdjustSpacesOperation(space, AdjustSpacesOption.
DefaultSpacesIfOnSingleLine
);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
DefaultOperationProvider.vb (1)
216
Return FormattingOperations.CreateAdjustSpacesOperation(space, AdjustSpacesOption.
DefaultSpacesIfOnSingleLine
)