Returns all fields defined in the .sdata region of the portable executable (PE) file that match the specified binding flags.
An array of fields that match the specified flags; the array is empty if no such fields 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.