Make HandleRef fields private
authorJan Kotas <jkotas@microsoft.com>
Fri, 29 Dec 2017 00:26:46 +0000 (16:26 -0800)
committerJan Kotas <jkotas@microsoft.com>
Fri, 29 Dec 2017 01:55:36 +0000 (17:55 -0800)
src/mscorlib/shared/System/Runtime/InteropServices/HandleRef.cs

index b8dc0c0..64d0553 100644 (file)
@@ -8,8 +8,8 @@ namespace System.Runtime.InteropServices
     {
         // ! Do not add or rearrange fields as the EE depends on this layout.
         //------------------------------------------------------------------
-        internal object _wrapper;
-        internal IntPtr _handle;
+        private object _wrapper;
+        private IntPtr _handle;
         //------------------------------------------------------------------
 
         public HandleRef(object wrapper, IntPtr handle)