Remove duplicate _wrapped.WriteBase64 call in QueryOutputWriterV1 (dotnet/corefx...
authorStephen Toub <stoub@microsoft.com>
Thu, 15 Aug 2019 23:02:51 +0000 (19:02 -0400)
committerGitHub <noreply@github.com>
Thu, 15 Aug 2019 23:02:51 +0000 (19:02 -0400)
commitc77c58130d23decbdcb8542f6fbdbc74ff2ed311
tree17d3db70cc513362659934241bf8b4a10da03e89
parent51e4da525352799f9a8c8ca71bd1cdc90ca782a0
Remove duplicate _wrapped.WriteBase64 call in QueryOutputWriterV1 (dotnet/corefx#40345)

The same expression is used for both the if and the else branches.  But the if branch does make a mutating method call, which we keep.

Commit migrated from https://github.com/dotnet/corefx/commit/6aaba8d6f07c8f2e4db0a918dbdbad6d95b26eae
src/libraries/System.Private.Xml/src/System/Xml/Core/QueryOutputWriterV1.cs