void TestMethodsWithValidIL(ValidILTestCase validIL) { ILImporter importer = ConstructILImporter(validIL); var verifierErrors = new List <VerifierError>(); importer.ReportVerificationError = new Action <VerificationErrorArgs>((err) => { verifierErrors.Add(err.Code); }); importer.Verify(); Assert.Equal(0, verifierErrors.Count); }
void TestMethodsWithValidIL(ValidILTestCase validIL) { var results = Verify(validIL); Assert.Empty(results); }
void TestMethodsWithValidIL(ValidILTestCase validIL) { var results = Verify(validIL); Assert.Equal(0, results.Count()); }