Exemple #1
0
        public override DmdTypeBase?FullResolve()
        {
            if (IsFullyResolved)
            {
                return(this);
            }
            var et = elementType.FullResolve();

            if (et is not null)
            {
                return((DmdTypeBase)AppDomain.MakeArrayType(et, rank, sizes, lowerBounds, GetCustomModifiers()));
            }
            return(null);
        }
Exemple #2
0
        public override DmdTypeBase FullResolve()
        {
            if (IsFullyResolved)
            {
                return(this);
            }
            var et = elementType.FullResolve();

            if ((object)et != null)
            {
                return((DmdTypeBase)AppDomain.MakeByRefType(et, GetCustomModifiers()));
            }
            return(null);
        }
Exemple #3
0
        public override DmdTypeBase?FullResolve()
        {
            if (IsFullyResolved)
            {
                return(this);
            }
            var et = elementType.FullResolve();

            if (!(et is null))
            {
                return((DmdTypeBase)AppDomain.MakePointerType(et, GetCustomModifiers()));
            }
            return(null);
        }