65 references to None
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (58)
AddBracesTests.cs (52)
31
[InlineData((int)PreferBracesPreference.
None
)]
53
[InlineData((int)PreferBracesPreference.
None
)]
79
[InlineData((int)PreferBracesPreference.
None
)]
101
[InlineData((int)PreferBracesPreference.
None
)]
123
[InlineData((int)PreferBracesPreference.
None
)]
145
[InlineData((int)PreferBracesPreference.
None
)]
167
[InlineData((int)PreferBracesPreference.
None
)]
190
[InlineData((int)PreferBracesPreference.
None
)]
220
[InlineData((int)PreferBracesPreference.
None
)]
257
[InlineData((int)PreferBracesPreference.
None
)]
280
[InlineData((int)PreferBracesPreference.
None
)]
303
[InlineData((int)PreferBracesPreference.
None
)]
325
[InlineData((int)PreferBracesPreference.
None
, false)]
360
[InlineData((int)PreferBracesPreference.
None
, false)]
393
[InlineData((int)PreferBracesPreference.
None
, false)]
413
[InlineData((int)PreferBracesPreference.
None
, false)]
448
[InlineData((int)PreferBracesPreference.
None
, false)]
483
[InlineData((int)PreferBracesPreference.
None
, false)]
517
[InlineData((int)PreferBracesPreference.
None
, false)]
552
[InlineData((int)PreferBracesPreference.
None
, false)]
595
[InlineData((int)PreferBracesPreference.
None
, false)]
642
[InlineData((int)PreferBracesPreference.
None
, false)]
688
[InlineData((int)PreferBracesPreference.
None
, false)]
742
[InlineData((int)PreferBracesPreference.
None
, false)]
788
[InlineData((int)PreferBracesPreference.
None
, false)]
821
[InlineData((int)PreferBracesPreference.
None
, false)]
858
[InlineData((int)PreferBracesPreference.
None
, false)]
893
[InlineData((int)PreferBracesPreference.
None
, false)]
929
[InlineData((int)PreferBracesPreference.
None
, false)]
962
[InlineData((int)PreferBracesPreference.
None
, false)]
995
[InlineData((int)PreferBracesPreference.
None
, false)]
1029
[InlineData((int)PreferBracesPreference.
None
, false)]
1065
[InlineData((int)PreferBracesPreference.
None
, false)]
1101
[InlineData((int)PreferBracesPreference.
None
, false)]
1151
[InlineData((int)PreferBracesPreference.
None
, false)]
1219
[InlineData((int)PreferBracesPreference.
None
, false)]
1289
[InlineData((int)PreferBracesPreference.
None
, false)]
1359
[InlineData((int)PreferBracesPreference.
None
, false)]
1395
[InlineData((int)PreferBracesPreference.
None
, false)]
1437
[InlineData((int)PreferBracesPreference.
None
)]
1461
[InlineData((int)PreferBracesPreference.
None
)]
1485
[InlineData((int)PreferBracesPreference.
None
)]
1511
[InlineData((int)PreferBracesPreference.
None
, false)]
1556
[InlineData((int)PreferBracesPreference.
None
, false)]
1601
[InlineData((int)PreferBracesPreference.
None
, false)]
1646
[InlineData((int)PreferBracesPreference.
None
, false)]
1691
[InlineData((int)PreferBracesPreference.
None
, false)]
1740
[InlineData((int)PreferBracesPreference.
None
, false)]
1789
[InlineData((int)PreferBracesPreference.
None
, false)]
1830
[InlineData((int)PreferBracesPreference.
None
, false)]
1871
[InlineData((int)PreferBracesPreference.
None
, false)]
1914
[InlineData((int)PreferBracesPreference.
None
, false)]
InitializeParameter\AddParameterCheckTests.cs (6)
2028
[InlineData((int)PreferBracesPreference.
None
)]
2392
{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.
None
},
2501
{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.
None
},
2612
{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.
None
},
2733
{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.
None
},
2853
{ CSharpCodeStyleOptions.PreferBraces, PreferBracesPreference.
None
},
Microsoft.CodeAnalysis.CSharp.Features (1)
CSharpAddBracesDiagnosticAnalyzer.cs (1)
52
if (option.Value == PreferBracesPreference.
None
)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpCodeStyleOptions_Parsing.cs (2)
119
: new CodeStyleOption2<PreferBracesPreference>(PreferBracesPreference.
None
, notificationOption);
136
PreferBracesPreference.
None
=> $"false{notificationString}",
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
171
case PreferBracesPreference.
None
:
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Simplification\BlockSimplificationTests.vb (1)
17
{CSharpCodeStyleOptions.PreferBraces, New CodeStyleOption2(Of PreferBracesPreference)(PreferBracesPreference.
None
, NotificationOption2.Silent)}
Microsoft.VisualStudio.LanguageServices.CSharp (2)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
95
enumValues: new[] { PreferBracesPreference.Always, PreferBracesPreference.
None
, PreferBracesPreference.WhenMultiline },
Options\Formatting\StyleViewModel.cs (1)
2345
var enumValues = new[] { PreferBracesPreference.Always, PreferBracesPreference.
None
, PreferBracesPreference.WhenMultiline };