In ilasm/codegen:
[mono.git] / mcs / ilasm / codegen / Sentinel.cs
index 6bbaa38923ee2ba86fb676024b57c88cc8fc7a1b..e94a3bad5b41b5998f6a61e7509cf634e3f5b4d1 100644 (file)
@@ -8,16 +8,27 @@
 //
 
 using System;
+using System.Collections;
 
 namespace Mono.ILASM {
 
         public class SentinelTypeRef : BaseTypeRef {
 
                 public SentinelTypeRef ()
-                       : base ("...")
+                       : this (null, null)
                 {
                 }
 
+                public SentinelTypeRef (ArrayList conv_list, string sig_mod)
+                        : base ("...", conv_list, sig_mod)
+                {
+                }
+
+                public override BaseTypeRef Clone ()
+                {
+                        return new SentinelTypeRef ((ArrayList) ConversionList.Clone (), sig_mod);
+                }
+
                 public override void Resolve (CodeGen code_gen)
                 {
                         if (is_resolved)