1 write to Option
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\AdjustNewLinesOperation.cs (1)
21
this.
Option
= option;
6 references to Option
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
403
if (pair.LineOperation.
Option
== AdjustNewLinesOption.ForceLinesIfOnSingleLine)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (3)
138
if (operation.
Option
== AdjustNewLinesOption.PreserveLines)
142
else if (operation.
Option
== AdjustNewLinesOption.ForceLines)
148
Debug.Assert(operation.
Option
== AdjustNewLinesOption.ForceLinesIfOnSingleLine);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (2)
419
switch (lineOperation.
Option
)
440
throw ExceptionUtilities.UnexpectedValue(lineOperation.
Option
);