2 // Mono.ILASM.GlobalFieldRef
5 // Jackson Harper (Jackson@LatitudeGeo.com)
7 // (C) 2003 Jackson Harper, All rights reserved
13 namespace Mono.ILASM {
16 public class GlobalFieldRef : IFieldRef {
18 private ITypeRef ret_type;
21 private PEAPI.Field peapi_field;
23 public GlobalFieldRef (ITypeRef ret_type, string name)
25 this.ret_type = ret_type;
29 public PEAPI.Field PeapiField {
30 get { return peapi_field; }
33 public void Resolve (CodeGen code_gen)
35 peapi_field = code_gen.ResolveField (name);