public static CppType ForDelegate (Type delType) { if (!typeof (Delegate).IsAssignableFrom (delType)) throw new ArgumentException ("Argument must be a delegate type"); return new CppType (CppTypes.Delegate); throw new NotImplementedException (); }