Avoid some unnecessary allocation in MethodBuilder.ToString (#21758)
authorStephen Toub <stoub@microsoft.com>
Thu, 3 Jan 2019 00:57:49 +0000 (19:57 -0500)
committerGitHub <noreply@github.com>
Thu, 3 Jan 2019 00:57:49 +0000 (19:57 -0500)
commit472181f672b21774109f8d3cdcd077556d7393b2
tree7e982b9641d897c08d5ad2df48bdad6af84a2960
parent369f53ea121798a65b81e6878c739c6bdcaae895
Avoid some unnecessary allocation in MethodBuilder.ToString (#21758)

This method already allocates a ton, and it's not going to be hot-path, but it's annoying me showing up in queries for string.Concat usage, so I'm fixing it :)
src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.cs