From a6779fb9384383891913caf63c00b0c7143be5b7 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Thu, 4 Feb 2016 19:04:52 +0100 Subject: [PATCH] rename rectIsNotContainedInRectangles=>doesNotContain --- src/Rectangles.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rectangles.cs b/src/Rectangles.cs index 2d7f6ff1..dbb4118b 100644 --- a/src/Rectangles.cs +++ b/src/Rectangles.cs @@ -17,7 +17,7 @@ namespace Crow public void AddRectangle(Rectangle r) { - if (rectIsNotContainedInRectangles (r)) { + if (doesNotContain (r)) { list.Add (r); boundsUpToDate = false; } @@ -28,7 +28,7 @@ namespace Crow _bounds = Rectangle.Empty; boundsUpToDate = true; } - bool rectIsNotContainedInRectangles(Rectangle r) + bool doesNotContain(Rectangle r) { foreach (Rectangle rInList in list) if (rInList.ContainsOrIsEqual(r)) -- 2.47.3