/// <summary> /// XML ctor /// </summary> internal MethodEntry(XElement e) { name = e.GetAttribute("name"); signature = e.GetAttribute("signature"); dexName = e.GetAttribute("dname"); dexSignature = e.GetAttribute("dsignature"); mapFileId = int.Parse(e.GetAttribute("id") ?? "0"); scopeId = e.GetAttribute("scopeid"); variables = new VariableList(e); parameters = new ParameterList(e); }
/// <summary> /// Default ctor /// </summary> public MethodEntry(string name, string signature, string dexName, string dexSignature, int mapFileId, string scopeId = null) { this.name = name; this.signature = signature; this.dexName = dexName; this.dexSignature = dexSignature; this.mapFileId = mapFileId; this.scopeId = scopeId; variables = new VariableList(); parameters = new ParameterList(); }