Returns a module-level field, defined in the .sdata region of the portable executable (PE) file, that has the specified name and binding attributes.
A field that has the specified name and binding attributes, or null if the field does not exist.
When you emit dynamic assemblies, fields in the .sdata region of the portable executable (PE) file are defined by using the ModuleBuilder.DefineInitializedData(string, Byte[], System.Reflection.FieldAttributes) or ModuleBuilder.DefineUninitializedData(string, int, System.Reflection.FieldAttributes) methods.
Module-level fields cannot be retrieved until after the ModuleBuilder.CreateGlobalFunctions method has been called for the module.