private InterfaceList FindMatchingInterfaces(Class c, ZMethod zMethod)
{
InterfaceList matches = new InterfaceList(1);
if (c.Interfaces != null && c.Interfaces.Count > 0)
{
for (int i = 0; i < c.Interfaces.Count; i++)
{
Interface x = c.Interfaces[i];
if (x.GetMatchingMethod(zMethod) != null)
matches.Add(x);
}
}
return matches;
}