2 // support.cs: Support routines to work around the fact that System.Reflection.Emit
3 // can not introspect types that are being constructed
6 // Miguel de Icaza (miguel@ximian.com)
8 // (C) 2001 Ximian, Inc (http://www.ximian.com)
11 using System.Reflection.Emit;
12 using System.Reflection;
17 interface ParameterData {
18 Type ParameterType (int pos);
22 public class ReflectionParameters : ParameterData {
25 public ReflectionParameters (ParameterInfo [] pi)
30 public Type ParameterType (int pos)
32 return pi [pos].ParameterType;
43 public class InternalParameters : ParameterData {
46 public InternalParameters (Type [] pars)
60 public Type ParameterType (int pos)