22 references to Option
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (22)
AddBracesTests.cs (17)
49
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
75
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
97
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
119
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
141
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
163
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
186
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
216
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
253
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
276
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
299
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
321
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
1457
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
1481
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
1507
new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, (PreferBracesPreference)bracesPreference, NotificationOption2.Silent)));
1960
await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, options:
Option
(CSharpCodeStyleOptions.PreferBraces, bracesPreference, NotificationOption2.Silent));
1964
await TestMissingInRegularAndScriptAsync(initialMarkup, new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferBraces, bracesPreference, NotificationOption2.Silent)));
ConvertNamespace\ConvertNamespaceRefactoringFixAllTests.cs (2)
22
=> this.
Option
(CSharpCodeStyleOptions.NamespaceDeclarations, NamespaceDeclarationPreference.BlockScoped, NotificationOption2.Warning);
25
=> this.
Option
(CSharpCodeStyleOptions.NamespaceDeclarations, NamespaceDeclarationPreference.FileScoped, NotificationOption2.Warning);
Diagnostics\GenerateType\GenerateTypeTests.cs (2)
3422
parameters: new TestParameters(options:
Option
(CSharpCodeStyleOptions.PreferredUsingDirectivePlacement, AddImportPlacement.InsideNamespace, NotificationOption2.Error)));
4917
options:
Option
(CSharpCodeStyleOptions.NamespaceDeclarations, NamespaceDeclarationPreference.FileScoped, NotificationOption2.Silent)));
PullMemberUp\CSharpPullMemberUpTests.cs (1)
3880
options:
Option
(CSharpCodeStyleOptions.PreferredUsingDirectivePlacement, AddImportPlacement.InsideNamespace, CodeStyle.NotificationOption2.Silent));