35 references to VisualBasicSecurityCodeFixVerifier
Microsoft.CodeAnalysis.Analyzers.UnitTests (14)
MetaAnalyzers\CompareSymbolsCorrectlyTests.cs (14)
13using VerifyVB = Test.Utilities.VisualBasicSecurityCodeFixVerifier< 418await new VerifyVB.Test 447await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 465await VerifyVB.VerifyAnalyzerAsync(source); 488await new VerifyVB.Test 513await VerifyVB.VerifyAnalyzerAsync(source); 540await new VerifyVB.Test 603await new VerifyVB.Test 683await new VerifyVB.Test 846await VerifyVB.VerifyAnalyzerAsync(@" 948await new VerifyVB.Test 1169await new VerifyVB.Test 1568await new VerifyVB.Test 1647await new VerifyVB.Test
Roslyn.Diagnostics.Analyzers.UnitTests (21)
DoNotCallGetTestAccessorTests.cs (4)
10using VerifyVB = Test.Utilities.VisualBasicSecurityCodeFixVerifier< 71await VerifyVB.VerifyAnalyzerAsync(source); 125await VerifyVB.VerifyAnalyzerAsync(source); 220await VerifyVB.VerifyAnalyzerAsync(source);
DoNotCopyValueTests.cs (14)
13using VerifyVB = Test.Utilities.VisualBasicSecurityCodeFixVerifier< 58await VerifyVB.VerifyAnalyzerAsync(@" 91await VerifyVB.VerifyAnalyzerAsync($@" 124await VerifyVB.VerifyAnalyzerAsync($@" 157await VerifyVB.VerifyAnalyzerAsync($@" 168VerifyVB.Diagnostic(AbstractDoNotCopyValue.NoAssignValueFromReferenceRule).WithLocation(0).WithArguments("System.Runtime.InteropServices.GCHandle")); 196await VerifyVB.VerifyAnalyzerAsync($@" 234await VerifyVB.VerifyAnalyzerAsync($@" 433await VerifyVB.VerifyAnalyzerAsync(@" 1293await VerifyVB.VerifyAnalyzerAsync(@" 1315VerifyVB.Diagnostic(AbstractDoNotCopyValue.NoFieldOfCopyableTypeRule).WithLocation(0).WithArguments("CannotCopy", "Private field2 As CannotCopy")); 1347await VerifyVB.VerifyAnalyzerAsync(@" 1401VerifyVB.Diagnostic(AbstractDoNotCopyValue.NoAutoPropertyRule).WithLocation(0).WithArguments("CannotCopy", "Private Property Property3 As CannotCopy"), 1403VerifyVB.Diagnostic(AbstractDoNotCopyValue.NoAutoPropertyRule).WithLocation(1).WithArguments("CannotCopy", "Private Property Property3 As CannotCopy"));
TemporaryArrayAsRefTests.cs (3)
11using VerifyVB = Test.Utilities.VisualBasicSecurityCodeFixVerifier< 96await new VerifyVB.Test 169await new VerifyVB.Test