Fix deserialization of EnumEqualityComparer
authorStephen Toub <stoub@microsoft.com>
Wed, 11 Jan 2017 13:58:53 +0000 (08:58 -0500)
committerStephen Toub <stoub@microsoft.com>
Wed, 11 Jan 2017 13:58:53 +0000 (08:58 -0500)
Its deserialization ctor is getting removed by the rewriter, causing deserialization of its instances to fail.

Commit migrated from https://github.com/dotnet/coreclr/commit/1eef9df849527d4471737407140f20192e24f018

src/coreclr/src/mscorlib/model.xml

index 437d5d6..5e9a727 100644 (file)
       <Member Name="GetHashCode(T)" />
       <Member MemberType="Property" Name="Default" />
     </Type>
+    <Type Name="System.Collections.Generic.EnumEqualityComparer&lt;T&gt;">
+      <Member Name="#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)" />
+    </Type>
     <Type Name="System.Collections.Generic.ICollection&lt;T&gt;">
       <Member Name="Add(T)" />
       <Member Name="Clear" />