public void CallVirtualMethodWithInterfaceParameter() { Point p = new Point(9, 9); PointUser user = new PointUser(); user.VirtualDoSomethingInterface(p); // no asert, just watch IL code }
public void CallMethodWithInterfaceInstanceParameter() { Point p = new Point(7, 7); PointUser user = new PointUser(); user.DoSomethingInterface(p); // no asert, just watch IL code }
public void CallVirtualMethodWithConcreteParameter() { Point p = new Point(8, 8); PointUser user = new PointUser(); user.VirtualDoSomethingConcrete(p); // no asert, just watch IL code }
public void CallMethodWithConcreteInstanceParameter() { Point p = new Point(6, 6); PointUser user = new PointUser(); user.DoSomethingConcrete(p); // no asert, just watch IL code }