Imported Upstream version 5.2.0.196

Former-commit-id: a9bb725ccbe0b8bfe8370b968c9f33f1558e1a2b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-30 09:21:02 +00:00
parent fad71374d0
commit bdb6e93184
18289 changed files with 89 additions and 3842195 deletions

View File

@ -229,7 +229,9 @@ namespace System.Reflection.Emit {
}
internal FieldInfo RuntimeResolve () {
return typeb.CreateType ().GetField (this);
// typeb.CreateType() populates this.handle
var type_handle = new RuntimeTypeHandle (typeb.CreateType () as RuntimeType);
return FieldInfo.GetFieldFromHandle (handle, type_handle);
}
public override Module Module {