updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / galaxium / patch
bloba2d84a251f51ad27f4d5e6068826692b12f66fc0
1 --- src/Galaxium.Core/Utilities/ArgumentUtility.cs.orig 2009-02-07 23:32:34.555759364 +0100
2 +++ src/Galaxium.Core/Utilities/ArgumentUtility.cs      2009-02-07 23:32:52.914928857 +0100
3 @@ -278,10 +278,10 @@
4                 /// <returns></returns>
5                 public static bool IsNullable (object obj)
6                 {
7 -                       if (obj == null)
8 -                               return false;
9 +                       var type = obj.GetType ();
11 -                       return obj is Nullable;
12 +                       return (type.IsGenericType
13 +                               && type.GetGenericTypeDefinition ().Equals (typeof (Nullable<>)));
14                 }
16                 /// <summary>