public FieldReference ImportReference(FieldReference field, IGenericParameterProvider context) { Mixin.CheckField(field); if (field.Module == this) { return(field); } CheckContext(context, this); return(MetadataImporter.ImportReference(field, context)); }
public MethodReference ImportReference(MethodReference method, IGenericParameterProvider context) { Mixin.CheckMethod(method); if (method.Module == this) { return(method); } CheckContext(context, this); return(MetadataImporter.ImportReference(method, context)); }
public TypeReference ImportReference(TypeReference type, IGenericParameterProvider context) { Mixin.CheckType(type); if (type.Module == this) { return(type); } CheckContext(context, this); return(MetadataImporter.ImportReference(type, context)); }