diff options
author | jfrijters <jfrijters> | 2010-04-18 12:39:20 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2010-04-18 12:39:20 +0400 |
commit | 6a1ca8dae9fe0ea6ec172d85de8f0f6d0e119a01 (patch) | |
tree | 91eb8f7d518f19e91fb234afaf20454f1e8d1418 /reflect/Impl | |
parent | a2dd1781877bce23dcda08c4c85b37cdb91c6cf2 (diff) |
Introduced Empty<T> to cache zero length arrays.
Diffstat (limited to 'reflect/Impl')
-rw-r--r-- | reflect/Impl/MdbWriter.cs | 2 |
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) |