static void PopulateTestSuite (MethodInfo method, DecompilerTestSuite suite) { var attribute = GetTestAttribute (method); if (attribute.TestDebug) suite.Add (CreateTestCase (method, attribute, CompilationMode.Debug)); if (attribute.TestRelease) suite.Add (CreateTestCase (method, attribute, CompilationMode.Release)); }
static void PopulateTestSuite(MethodInfo method, DecompilerTestSuite suite) { var attribute = GetTestAttribute(method); if (attribute.TestDebug) { suite.Add(CreateTestCase(method, attribute, CompilationMode.Debug)); } if (attribute.TestRelease) { suite.Add(CreateTestCase(method, attribute, CompilationMode.Release)); } }