Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

System.IO.Packaging.PackagingUtilities: Avoid ToUpperInvariant allocations #4655

Merged
merged 1 commit into from Nov 25, 2015

Conversation

justinvp
Copy link
Contributor

Avoid unnecessary ToUpperInvariant allocations associated with ordinal ignore case string comparisons and fix a typo in the name of PerformInitialReadAndVerifyEncoding. Also change string.Compare => string.Equals while modifying this file.

Related: #2699

Avoid unnecessary allocations associated with ordinal ignore case
string comparisons and fix a typo in the name of
PerformInitialReadAndVerifyEncoding. Also change string.Compare =>
string.Equals while modifying this file.
@stephentoub
Copy link
Member

LGTM. Thanks, Justin.

stephentoub added a commit that referenced this pull request Nov 25, 2015
System.IO.Packaging.PackagingUtilities: Avoid ToUpperInvariant allocations
@stephentoub stephentoub merged commit 820921f into dotnet:master Nov 25, 2015
@justinvp justinvp deleted the packaging_verifyencoding branch November 27, 2015 22:39
@karelz karelz modified the milestone: 1.0.0-rtm Dec 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants