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

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2010-04-18 12:39:20 +0400
committerjfrijters <jfrijters>2010-04-18 12:39:20 +0400
commit6a1ca8dae9fe0ea6ec172d85de8f0f6d0e119a01 (patch)
tree91eb8f7d518f19e91fb234afaf20454f1e8d1418 /reflect/Impl
parenta2dd1781877bce23dcda08c4c85b37cdb91c6cf2 (diff)
Introduced Empty<T> to cache zero length arrays.
Diffstat (limited to 'reflect/Impl')
-rw-r--r--reflect/Impl/MdbWriter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/reflect/Impl/MdbWriter.cs b/reflect/Impl/MdbWriter.cs
index ff28200a..06d3ed0a 100644
--- a/reflect/Impl/MdbWriter.cs
+++ b/reflect/Impl/MdbWriter.cs
@@ -83,7 +83,7 @@ namespace IKVM.Reflection.Impl
public byte[] GetDebugInfo(ref IMAGE_DEBUG_DIRECTORY idd)
{
- return new byte[0];
+ return Empty<byte>.Array;
}
public void RemapToken(int oldToken, int newToken)