Change string.Compare(...) == 0 occurrences to string.Equals(...) (dotnet/coreclr...
authorStephen Toub <stoub@microsoft.com>
Sat, 23 Jun 2018 14:20:29 +0000 (10:20 -0400)
committerJan Kotas <jkotas@microsoft.com>
Sat, 23 Jun 2018 14:20:29 +0000 (07:20 -0700)
commitae2667b1887b61f913cca6c78eb27016e63634bd
tree12191c2343c924e871ad27fbb4ffc0e5cbe0e8fa
parentbfa6be572d3167e8d9886afa8ea4cba00d1d2365
Change string.Compare(...) == 0 occurrences to string.Equals(...) (dotnet/coreclr#18616)

Commit migrated from https://github.com/dotnet/coreclr/commit/e1a6bdb037e1a79ad7009fb81eecfd6bd1bbfe65
src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/Stacktrace.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs
src/coreclr/src/System.Private.CoreLib/src/System/Resources/ResourceManager.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs
src/libraries/System.Private.CoreLib/src/System/StringComparer.cs