public static Assembly GetAssembly (Type type) { if (type != null) return type.Assembly; throw new ArgumentNullException ("type"); }