Add dummy object field to TypedReference in ref assembly (dotnet/corefx#35883)
authorStephen Toub <stoub@microsoft.com>
Fri, 8 Mar 2019 07:42:10 +0000 (23:42 -0800)
committerGitHub <noreply@github.com>
Fri, 8 Mar 2019 07:42:10 +0000 (23:42 -0800)
Commit migrated from https://github.com/dotnet/corefx/commit/7aef7b15a9b42fd06762ccbaff821af35b97f9d6

src/libraries/System.Runtime/ref/System.Runtime.cs

index 10a68b7..1b6b0e1 100644 (file)
@@ -3164,6 +3164,7 @@ namespace System
     [System.CLSCompliantAttribute(false)]
     public ref partial struct TypedReference
     {
+        private object _dummy;
         private int _dummyPrimitive;
         public override bool Equals(object o) { throw null; }
         public override int GetHashCode() { throw null; }