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