예제 #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);
        }
예제 #2
0
파일: DmdByRefType.cs 프로젝트: zz110/dnSpy
        public override DmdTypeBase FullResolve()
        {
            if (IsFullyResolved)
            {
                return(this);
            }
            var et = elementType.FullResolve();

            if ((object)et != null)
            {
                return((DmdTypeBase)AppDomain.MakeByRefType(et, GetCustomModifiers()));
            }
            return(null);
        }
예제 #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);
        }