Exemplo n.º 1
0
 public ICallSiteDialog CreateCallSiteDialog(Program program, UserCallData ucd)
 {
     Debug.Assert(ucd != null && ucd.Address != null);
     var dlg = new CallSiteDialog();
     dlg.Address = ucd.Address;
     dlg.NoReturn.Checked = ucd.NoReturn;
     return dlg;
 }
Exemplo n.º 2
0
 private void SetUserCallData(UserCallData ucd)
 {
     program.User.Calls[ucd.Address] = ucd;
 }
Exemplo n.º 3
0
 private UserCallData GetUserCallDataFromAddress(Address addr)
 {
     UserCallData ucd;
     if (!program.User.Calls.TryGetValue(addr, out ucd))
     {
         ucd = new UserCallData { Address = addr };
     }
     return ucd;
 }