public static CodeTypeMember GetRowTestBaseMethod(this CodeNamespace generatedCode, Scenario scenario) { return(generatedCode.GetTestMethods(scenario).FirstOrDefault(a => a.CustomAttributes.Count == 0)); }
public static IList <CodeTypeMember> GetRowTestMethods(this CodeNamespace generatedCode, Scenario scenario) { return(generatedCode.GetTestMethods(scenario).Where(a => a.CustomAttributes.Count > 0).ToList()); }