projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[bcl] Update to 4.6 referencesource
[mono.git]
/
mcs
/
class
/
corlib
/
System
/
Array.cs
diff --git
a/mcs/class/corlib/System/Array.cs
b/mcs/class/corlib/System/Array.cs
index 9c263400572cc9681d3fba5d8ad1ce6f5c579a1c..024f3ff18f10a3ec19c4a4a211bb88adbd196964 100644
(file)
--- a/
mcs/class/corlib/System/Array.cs
+++ b/
mcs/class/corlib/System/Array.cs
@@
-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)