Use the cached Encoding instances in StreamReader
authorJustin Van Patten <jvp@justinvp.com>
Sat, 25 Jul 2015 23:31:08 +0000 (16:31 -0700)
committerJustin Van Patten <jvp@justinvp.com>
Sat, 25 Jul 2015 23:31:08 +0000 (16:31 -0700)
commit9b174d4843900a2267e46fb2acb11f3cb0b56f3a
tree68ccad9ac81c60c3e848b0b623e87e335e4566d0
parent0a83c2fc30146b335a24c85de2a5ba33a72bdbdd
Use the cached Encoding instances in StreamReader

The cached Encoding instances can be used instead of always creating
new instances. The same constructor arguments are used.
src/mscorlib/src/System/IO/StreamReader.cs