public static void SetWidthViolatingLsp(Rectangle r) { r.Width = 32; Console.WriteLine(r.Height); Console.WriteLine(r.Width); }
public static void SetHeightViolatingLsp(Rectangle r) { r.Height = 10; }
public static void SetWidthViolatingLsp(Rectangle r) { r.Width = 32; Console.WriteLine(r.Height); Console.WriteLine(r.Width); }
public static void SetHeightViolatingLsp(Rectangle r) { r.Height = 10; }