10 references to OperatorPlacementWhenWrappingPreference
Microsoft.CodeAnalysis.CodeStyle (10)
src\Analyzers\Core\Analyzers\AnalyzerOptionsProvider.cs (1)
46
public
OperatorPlacementWhenWrappingPreference
OperatorPlacementWhenWrapping => GetOption(CodeStyleOptions2.OperatorPlacementWhenWrapping);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (3)
107
internal static readonly Option2<
OperatorPlacementWhenWrappingPreference
> OperatorPlacementWhenWrapping = CreateOption(
110
defaultValue:
OperatorPlacementWhenWrappingPreference
.BeginningOfLine,
112
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;