public bool ContainsInterface(string qualifiedName) { if (Super.Name != "Object") { ASInstance superInstance = ABC.GetInstance(Super); if (superInstance.ContainsInterface(qualifiedName)) { return(true); } } foreach (ASMultiname @interface in GetInterfaces()) { if (@interface.Name != qualifiedName) { continue; } return(true); } return(false); }