64 references to WhenMultiline
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (57)
AddBracesTests.cs (52)
32[InlineData((int)PreferBracesPreference.WhenMultiline)] 54[InlineData((int)PreferBracesPreference.WhenMultiline)] 80[InlineData((int)PreferBracesPreference.WhenMultiline)] 102[InlineData((int)PreferBracesPreference.WhenMultiline)] 124[InlineData((int)PreferBracesPreference.WhenMultiline)] 146[InlineData((int)PreferBracesPreference.WhenMultiline)] 168[InlineData((int)PreferBracesPreference.WhenMultiline)] 191[InlineData((int)PreferBracesPreference.WhenMultiline)] 221[InlineData((int)PreferBracesPreference.WhenMultiline)] 258[InlineData((int)PreferBracesPreference.WhenMultiline)] 281[InlineData((int)PreferBracesPreference.WhenMultiline)] 304[InlineData((int)PreferBracesPreference.WhenMultiline)] 326[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 361[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 394[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 414[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 449[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 484[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 518[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 553[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 596[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 643[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 689[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 743[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 789[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 822[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 859[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 894[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 930[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 963[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 996[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1030[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1066[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 1102[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1152[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1220[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1290[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 1360[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1396[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1438[InlineData((int)PreferBracesPreference.WhenMultiline)] 1462[InlineData((int)PreferBracesPreference.WhenMultiline)] 1486[InlineData((int)PreferBracesPreference.WhenMultiline)] 1512[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1557[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1602[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1647[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1692[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 1741[InlineData((int)PreferBracesPreference.WhenMultiline, true)] 1790[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1831[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1872[InlineData((int)PreferBracesPreference.WhenMultiline, false)] 1915[InlineData((int)PreferBracesPreference.WhenMultiline, true)]
InitializeParameter\AddParameterCheckTests.cs (5)
2029[InlineData((int)PreferBracesPreference.WhenMultiline)] 2428{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.WhenMultiline }, 2536{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.WhenMultiline }, 2652{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.WhenMultiline}, 2772{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.WhenMultiline },
Microsoft.CodeAnalysis.CSharp.Features (2)
CSharpAddBracesDiagnosticAnalyzer.cs (2)
96if (option.Value == PreferBracesPreference.WhenMultiline 232/// <see cref="PreferBracesPreference.WhenMultiline"/> preference due to the presence of braces on one or more
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpCodeStyleOptions_Parsing.cs (2)
124return new CodeStyleOption2<PreferBracesPreference>(PreferBracesPreference.WhenMultiline, notificationOption); 137PreferBracesPreference.WhenMultiline => $"when_multiline{notificationString}",
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
137case PreferBracesPreference.WhenMultiline:
Microsoft.VisualStudio.LanguageServices.CSharp (2)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
95enumValues: new[] { PreferBracesPreference.Always, PreferBracesPreference.None, PreferBracesPreference.WhenMultiline },
Options\Formatting\StyleViewModel.cs (1)
2345var enumValues = new[] { PreferBracesPreference.Always, PreferBracesPreference.None, PreferBracesPreference.WhenMultiline };