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