示例#1
0
 public void AddCaller(CallTreeItem cti)
 {
     Callers.TryGetValue(cti, out int current);
     Callers[cti] = current + 1;
 }
示例#2
0
 public void AddCallee(CallTreeItem cti)
 {
     (_callees ?? (_callees = new Dictionary <CallTreeItem, int>(2))).TryGetValue(cti, out int current);
     _callees[cti] = current + 1;
 }