Delete CoreLib.FixupCoreLibName (#21655)
authorJan Kotas <jkotas@microsoft.com>
Sun, 23 Dec 2018 12:47:11 +0000 (04:47 -0800)
committerGitHub <noreply@github.com>
Sun, 23 Dec 2018 12:47:11 +0000 (04:47 -0800)
commit0d746bf368afb21e778f550c3fbb0dbb01eb260a
tree273fa7efac5fc8775c9b5fa07eff8cb029a8a2e1
parent47c5949c83d05080bcd360c274855017bb3f9576
Delete CoreLib.FixupCoreLibName (#21655)

This method doing blind find&replace of "mscorlib" with "System.Private.CoreLib". It is both incorrect (e.g. if the typename happened to contain "mscorlib" string) and inefficient (unnecessary allocations and use of reflection).
src/System.Private.CoreLib/shared/System/CoreLib.cs
src/System.Private.CoreLib/shared/System/Resources/ResourceReader.cs
src/System.Private.CoreLib/src/System/Resources/ManifestBasedResourceGroveler.cs
src/System.Private.CoreLib/src/System/Resources/ResourceManager.cs