private static bool IsDelegate(Type t) { Debug.Assert(t != null); return t.GetTypeInfo().IsSubclassOf(typeof(MulticastDelegate)); }