Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Leslie-Hughes <leslie_alistair@hotmail.com>2013-01-17 08:28:18 +0400
committerAlistair Leslie-Hughes <leslie_alistair@hotmail.com>2013-01-18 13:14:26 +0400
commitb39661fb4cd022ea41a7f5e3de3d58d3c86478e1 (patch)
tree400505dac473c15851d0980b3071156321fd9b6c /mcs/class/WindowsBase
parentb8e5c27bfed8aeecde8d06a3aa52624532e8d0c4 (diff)
Implement Int32Rect operator ==, operator !=
Diffstat (limited to 'mcs/class/WindowsBase')
-rw-r--r--mcs/class/WindowsBase/System.Windows/Int32Rect.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/WindowsBase/System.Windows/Int32Rect.cs b/mcs/class/WindowsBase/System.Windows/Int32Rect.cs
index 13ac91c337c..9c014ddf562 100644
--- a/mcs/class/WindowsBase/System.Windows/Int32Rect.cs
+++ b/mcs/class/WindowsBase/System.Windows/Int32Rect.cs
@@ -50,12 +50,12 @@ namespace System.Windows {
public static bool operator != (Int32Rect int32Rect1, Int32Rect int32Rect2)
{
- throw new NotImplementedException ();
+ return !int32Rect1.Equals(int32Rect2);
}
public static bool operator == (Int32Rect int32Rect1, Int32Rect int32Rect2)
{
- throw new NotImplementedException ();
+ return int32Rect1.Equals(int32Rect2);
}
public static Int32Rect Empty {