10 references to Option
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (10)
src\Analyzers\CSharp\Tests\GenerateConstructor\GenerateConstructorTests.cs (5)
528new(options: Option(CodeStyleOptions2.QualifyFieldAccess, true, NotificationOption2.Error))); 663new(options: Option(CodeStyleOptions2.QualifyFieldAccess, true, NotificationOption2.Error))); 831new(options: Option(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Error))); 966new(options: Option(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Error))); 1055new(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)
93new(options: Option(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Suggestion)));
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (2)
3031new(options: Option(CodeStyleOptions2.QualifyPropertyAccess, false, NotificationOption2.Error))); 3060new(options: Option(CodeStyleOptions2.QualifyPropertyAccess, true, NotificationOption2.Error)));