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