@@ -84,7 +84,7 @@ static ManagedDataOffsets()
8484 public static readonly int ob_data ;
8585 public static readonly int ob_dict ;
8686
87- static int BaseOffset ( IntPtr type )
87+ private static int BaseOffset ( IntPtr type )
8888 {
8989 Debug . Assert ( type != IntPtr . Zero ) ;
9090 int typeSize = ( int ) Util . ReadIntPtrAligned ( type , TypeOffset . tp_basicsize ) ;
@@ -103,7 +103,7 @@ public static int DictOffset(IntPtr type)
103103
104104 public static int Size { get { return size ; } }
105105
106- static readonly int size ;
106+ private static readonly int size ;
107107 }
108108
109109 internal static class OriginalObjectOffsets
@@ -123,7 +123,7 @@ static OriginalObjectOffsets()
123123
124124 public static int Size { get { return size ; } }
125125
126- static readonly int size =
126+ private static readonly int size =
127127#if PYTHON_WITH_PYDEBUG
128128 4 * IntPtr . Size ;
129129#else
@@ -179,8 +179,7 @@ public static int Size(IntPtr pyType)
179179#endif
180180 public static int ob_refcnt ;
181181 public static int ob_type ;
182-
183- static readonly int size ;
182+ private static readonly int size ;
184183
185184 private static bool IsException ( IntPtr pyObject )
186185 {
@@ -221,7 +220,7 @@ static ExceptionOffset()
221220 public static int suppress_context = 0 ;
222221#endif
223222
224- static readonly int size ;
223+ private static readonly int size ;
225224 }
226225
227226
0 commit comments