2 // Mono.ILASM.SentinelTypeRef
5 // Jackson Harper (Jackson@LatitudeGeo.com)
7 // (C) 2003 Jackson Harper, All rights reserved
12 namespace Mono.ILASM {
14 public class SentinelTypeRef : BaseTypeRef {
16 public SentinelTypeRef ()
21 public override void Resolve (CodeGen code_gen)
26 type = new PEAPI.Sentinel ();
27 type = Modify (code_gen, type);
32 protected override BaseMethodRef CreateMethodRef (BaseTypeRef ret_type, PEAPI.CallConv call_conv,
33 string name, BaseTypeRef[] param, int gen_param_count)
35 return new TypeSpecMethodRef (this, call_conv, ret_type, name, param, gen_param_count);
38 protected override IFieldRef CreateFieldRef (BaseTypeRef ret_type, string name)
40 return new TypeSpecFieldRef (this, ret_type, name);
43 public override string ToString ()
45 return "Sentinel " + full_name;