public static uint CMPOverrideObject() { SuperPoint point = new SuperPoint(100, 200); if (point.GetSum() == 600) { return(1); } return(0); }
public static uint CMPMethodNullReference() { SuperPoint point = null; try { point.GetSum(); return(3); } catch (System.NullReferenceException) { return(1); } catch { return(2); } }