Esempio n. 1
0
 public virtual MethodReference ImportReference(SR.MethodBase method, IGenericParameterProvider context)
 {
     Mixin.CheckMethod(method);
     return(ImportMethod(method,
                         ImportGenericContext.For(context),
                         context != null ? ImportGenericKind.Open : ImportGenericKind.Definition));
 }
Esempio n. 2
0
 public virtual TypeReference ImportReference(Type type, IGenericParameterProvider context)
 {
     Mixin.CheckType(type);
     return(ImportType(
                type,
                ImportGenericContext.For(context),
                context != null ? ImportGenericKind.Open : ImportGenericKind.Definition));
 }
Esempio n. 3
0
 public virtual MethodReference ImportReference(MethodReference method, IGenericParameterProvider context)
 {
     Mixin.CheckMethod(method);
     return(ImportMethod(method, ImportGenericContext.For(context)));
 }
Esempio n. 4
0
 public virtual FieldReference ImportReference(FieldReference field, IGenericParameterProvider context)
 {
     Mixin.CheckField(field);
     return(ImportField(field, ImportGenericContext.For(context)));
 }
Esempio n. 5
0
 public virtual TypeReference ImportReference(TypeReference type, IGenericParameterProvider context)
 {
     Mixin.CheckType(type);
     return(ImportType(type, ImportGenericContext.For(context)));
 }