private void RemoveTested() { var tests = GetSolution.ClassesNames(testAssembly); for (var i = List.Count; i > 0; i--) { var member = List[i - 1]; member = member.Substring(assembly.Length); var idx = member.IndexOf(genericsChar); if (idx > 0) { member = member.Substring(0, idx); } member = member + "Tests"; var t = tests.Find(o => o.EndsWith(member)); if (!ReferenceEquals(null, t)) { List.RemoveAt(i - 1); } if (member.Contains(displayClass)) { List.RemoveAt(i - 1); } } }