msbuild
msbuild copied to clipboard
reuse the Translator instead of always allocating a new one
Fixes # Allocation of Translator
Context
In a trace we were seeing that there were allocations for a write translator.
Which can be avoided.
Changes Made
Instead of allocating a new translator everytime during the do-while loop. We will just reuse the one we have.