[bcl] Update to 4.6 referencesource
[mono.git] / mcs / class / corlib / System / Array.cs
index 9c263400572cc9681d3fba5d8ad1ce6f5c579a1c..024f3ff18f10a3ec19c4a4a211bb88adbd196964 100644 (file)
@@ -3102,6 +3102,12 @@ namespace System
                        return d;
                }
 
+               [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
+               public static T[] Empty<T>()
+               {
+                       return EmptyArray<T>.Value;
+               }
+
                public static bool Exists<T> (T [] array, Predicate <T> match)
                {
                        if (array == null)