public override bool Equals(object o) { Triplet t = o as Triplet; if (t == null) { return(false); } return(t.type == type && t.sig == sig && t.typeMod == typeMod); }
public void MakeCustomModified(CodeGen code_gen, PEAPI.CustomModifier modifier, BaseTypeRef klass) { PEAPI.Type type; use_type_spec = true; Pair p = new Triplet(peapi_type, modifier.ToString(), klass.FullName); type = type_table [p] as PEAPI.Type; if (type == null) { type = GetType(code_gen, modifier, klass); type_table [p] = type; } peapi_type = type; }
public void MakeCustomModified (CodeGen code_gen, PEAPI.CustomModifier modifier, BaseTypeRef klass) { PEAPI.Type type; use_type_spec = true; Pair p = new Triplet (peapi_type, modifier.ToString (), klass.FullName); type = type_table [p] as PEAPI.Type; if (type == null) { type = GetType (code_gen, modifier, klass); type_table [p] = type; } peapi_type = type; }