fileName should not be the same as that of any other persistable module, standalone managed resource, or the standalone manifest file.
The managed resources in the file are assumed to be public.
The specified resource file must be in the directory where the assembly will be saved.
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.