private bool IsNUnitFixture(TypeDefinition definition) { if (definition == null) return false; return definition.ContainsEffectiveAttribute("TestFixtureAttribute"); }