2010-02-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Mon, 22 Feb 2010 22:23:49 +0000 (22:23 -0000)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Mon, 22 Feb 2010 22:23:49 +0000 (22:23 -0000)
commit8b0f2bebd5a03d5bf88125b8b7c8b1049011f8f2
tree19f97dbd7a3ac5b3cbccad7e3c27aa78faf0cb13
parent2726803ae952cda8c2d11d6d168ec146de0066db
2010-02-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MemoryStream.cs: When setting Capacity, don't create a new buffer if
the new expected value is the same as the current one.

svn path=/trunk/mcs/; revision=152217
mcs/class/corlib/System.IO/ChangeLog
mcs/class/corlib/System.IO/MemoryStream.cs