umbraco/Umbraco-CMS — pull request #604 by csharpforevermore (2014-12-27 02:14:18+00:00)
Title: Fixed: U4-6054 "Unit test 'Umbraco.Tests.IO.AbstractFileSystemTests.Can_...

...Get_Size()' fails" by looking at the size of the string not the file which can vary - possibly dependent on encoding.

Fixed by making the FileSystemExtensions.GetSize() method parse the FileStream to a MemoryStream and finally a string, then returning the length of that.