10 references to Option
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (10)
src\Analyzers\CSharp\Tests\GenerateConstructor\GenerateConstructorTests.cs (5)
528
new(options:
Option
(CodeStyleOptions2.QualifyFieldAccess, true, NotificationOption2.Error)));
663
new(options:
Option
(CodeStyleOptions2.QualifyFieldAccess, true, NotificationOption2.Error)));
831
new(options:
Option
(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Error)));
966
new(options:
Option
(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Error)));
1055
new(options:
Option
(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Error)));
src\Analyzers\CSharp\Tests\QualifyMemberAccess\QualifyMemberAccessTests.cs (2)
41
=> TestInRegularAndScriptAsync(code, expected, new(options:
Option
(option, true, notification)));
49
=> TestMissingInRegularAndScriptAsync(code, new TestParameters(options:
Option
(option, true, notification)));
src\Analyzers\CSharp\Tests\QualifyMemberAccess\QualifyMemberAccessTests_FixAllTests.cs (1)
93
new(options:
Option
(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Suggestion)));
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (2)
3031
new(options:
Option
(CodeStyleOptions2.QualifyPropertyAccess, false, NotificationOption2.Error)));
3060
new(options:
Option
(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Error)));