static bool ContainsDeclaration (IType type, IMethod method) { return GetDeclaration (type, method) != null; }