FieldReference Import(SR.FieldInfo field, IGenericParameterProvider context) { CheckField(field); CheckContext(context, this); return(MetadataImporter.ImportField(field, (IGenericContext)context)); }
public FieldReference Import(FieldReference field) { CheckField(field); if (field.Module == this) { return(field); } return(MetadataImporter.ImportField(field, null)); }
FieldReference Import(FieldReference field, IGenericParameterProvider context) { CheckField(field); if (field.Module == this) { return(field); } CheckContext(context, this); return(MetadataImporter.ImportField(field, (IGenericContext)context)); }
public FieldReference Import(SR.FieldInfo field) { CheckField(field); return(MetadataImporter.ImportField(field, null)); }