See Also: FieldBuilder Members
Get an instance of FieldBuilder by calling TypeBuilder.DefineField(string, Type, System.Reflection.FieldAttributes), ModuleBuilder.DefineInitializedData(string, Byte[], System.Reflection.FieldAttributes), or ModuleBuilder.DefineUninitializedData(string, int, System.Reflection.FieldAttributes).
The FieldBuilder.SetValue(object, object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Globalization.CultureInfo) method is currently not supported. As a workaround, retrieve the System.Reflection.FieldInfo by reflecting on the finished type and call System.Reflection.FieldInfo.SetValue(object, object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Globalization.CultureInfo) to set the value of the field.