protected override DmdType?ResolveNoThrowCore() { if (!IsMetadataReference) { return(this); } var newElementType = elementType.ResolveNoThrow(); if (newElementType is not null) { return(AppDomain.MakeArrayType(newElementType, rank, sizes, lowerBounds, GetCustomModifiers())); } return(null); }
protected override DmdType ResolveNoThrowCore() { if (!IsMetadataReference) { return(this); } var newElementType = elementType.ResolveNoThrow(); if ((object)newElementType != null) { return(AppDomain.MakeByRefType(newElementType, GetCustomModifiers())); } return(null); }
protected override DmdType?ResolveNoThrowCore() { if (!IsMetadataReference) { return(this); } var newElementType = elementType.ResolveNoThrow(); if (!(newElementType is null)) { return(AppDomain.MakePointerType(newElementType, GetCustomModifiers())); } return(null); }