Exemplo n.º 1
0
 public virtual FieldReference ImportReference(FieldInfo field, IGenericParameterProvider context)
 {
     Mixin.CheckField(field);
     return(this.ImportField(field, ImportGenericContext.For(context)));
 }
Exemplo n.º 2
0
 public FieldReference ImportReference(FieldInfo field, IGenericParameterProvider context)
 {
     Mixin.CheckField(field);
     ModuleDefinition.CheckContext(context, this);
     return(this.ReflectionImporter.ImportReference(field, context));
 }