See the metadata specification in the ECMA Partition II documentation for details on how to format binaryAttribute. The documentation is available online; see tp://go.microsoft.com/fwlink/?LinkID=99212 on MSDN and tp://go.microsoft.com/fwlink/?LinkID=65552 on the Ecma International Web site.
RuntimeConstructorInfo is a special type generated by the system. It derives from the System.Reflection.ConstructorInfo class, and any System.Reflection.ConstructorInfo object you obtain through reflection is actually an instance of RuntimeConstructorInfo. For information on runtime types, see Runtime Types in Reflection.
AssemblyBuilder.SetCustomAttribute(System.Reflection.ConstructorInfo, Byte[]) cannot be used to set declarative security attributes. Use one of the overloads of AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName, AssemblyBuilderAccess) that takes required, optional, and refused permissions.
Starting with the net_v20sp1_long, this member no longer requires System.Security.Permissions.ReflectionPermission with the System.Security.Permissions.ReflectionPermissionFlag.ReflectionEmit flag. (See Security Issues in Reflection Emit.) To use this functionality, your application should target the net_v35_long or later.