예제 #1
0
        static ParameterInfo [] GetParameters(ConstructorInfo ctor)
        {
            ConstructorBuilder cb = ctor as ConstructorBuilder;

            if (cb != null)
            {
                return(cb.GetParametersInternal());
            }
            return(ctor.GetParameters());
        }