protected override IFieldRef CreateFieldRef(BaseTypeRef ret_type, string field_name) { /* Note: Using FullName here as we are caching in a static hashtable */ string key = FullName + ret_type.FullName + field_name; IFieldRef fr = (IFieldRef)s_field_table [key]; if (fr == null) { fr = new TypeSpecFieldRef(this, ret_type, field_name); s_field_table [key] = fr; } return(fr); }
protected override IFieldRef CreateFieldRef (BaseTypeRef ret_type, string field_name) { /* Note: Using FullName here as we are caching in a static hashtable */ string key = FullName + ret_type.FullName + field_name; IFieldRef fr = (IFieldRef) s_field_table [key]; if (fr == null) { fr = new TypeSpecFieldRef (this, ret_type, field_name); s_field_table [key] = fr; } return fr; }