Beispiel #1
0
 public IEnumerable <VTableSlot> FindSlots(IMethod method)
 {
     return(Slots
            .Concat(InterfaceSlots.SelectMany(iface => iface.Value))
            .Where(slot => slot.MethodDef == method));
 }
Beispiel #2
0
 public VTableSlot FindSlot(IMethod method)
 {
     return(Slots.Concat(Finals).SingleOrDefault(slot => slot.MethodDef == method));
 }