Exemple #1
0
 public void UsingRegularExpressions_VB_Disabled() =>
 Verifier.VerifyNoIssueReported(@"TestCases\UsingRegularExpressions.vb",
                                new VB.UsingRegularExpressions(),
                                additionalReferences: MetadataReferenceFacade.GetRegularExpressions());
Exemple #2
0
 public void UsingRegularExpressions_VB() =>
 Verifier.VerifyAnalyzer(@"TestCases\UsingRegularExpressions.vb",
                         new VB.UsingRegularExpressions(AnalyzerConfiguration.AlwaysEnabled),
                         additionalReferences: MetadataReferenceFacade.GetRegularExpressions());