Esempio n. 1
0
 public DmdGenericInstanceTypeRef(DmdTypeRef genericTypeRef, IList <DmdType> typeArguments, IList <DmdCustomModifier> customModifiers) : base(customModifiers)
 {
     if (typeArguments == null)
     {
         throw new ArgumentNullException(nameof(typeArguments));
     }
     this.genericTypeRef = genericTypeRef ?? throw new ArgumentNullException(nameof(genericTypeRef));
     this.typeArguments  = ReadOnlyCollectionHelpers.Create(typeArguments);
 }
Esempio n. 2
0
 internal DmdTypeDef GetType(DmdTypeRef typeRef, bool ignoreCase) => appDomain.TryLookup(this, typeRef, ignoreCase);