9 references to OperatorPlacementWhenWrappingPreference
Microsoft.CodeAnalysis.Workspaces (9)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (3)
106internal static readonly Option2<OperatorPlacementWhenWrappingPreference> OperatorPlacementWhenWrapping = CreateOption( 109defaultValue: OperatorPlacementWhenWrappingPreference.BeginningOfLine, 111parseValue: str => OperatorPlacementUtilities.Parse(str, OperatorPlacementWhenWrappingPreference.BeginningOfLine),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\OperatorPlacementWhenWrappingPreference.cs (6)
19public static string GetEditorConfigString(OperatorPlacementWhenWrappingPreference value) 20=> value == OperatorPlacementWhenWrappingPreference.EndOfLine ? end_of_line : beginning_of_line; 22public static Optional<OperatorPlacementWhenWrappingPreference> Parse(string optionString, OperatorPlacementWhenWrappingPreference defaultValue) 28case end_of_line: return OperatorPlacementWhenWrappingPreference.EndOfLine; 29case beginning_of_line: return OperatorPlacementWhenWrappingPreference.BeginningOfLine;