Пример #1
0
        public override MethodDesc GetDefaultConstructor()
        {
            MethodDesc typicalCtor = _typeDef.GetDefaultConstructor();

            if (typicalCtor == null)
            {
                return(null);
            }
            return(_typeDef.Context.GetMethodForInstantiatedType(typicalCtor, this));
        }