Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6afc9e6 commit 5ad1e7eCopy full SHA for 5ad1e7e
src/runtime/managedtype.cs
@@ -28,7 +28,7 @@ internal static ManagedType GetManagedObject(IntPtr ob)
28
tp = ob;
29
}
30
31
- var flags = (int)Marshal.ReadIntPtr(tp, TypeOffset.tp_flags);
+ var flags = (Int64)Marshal.ReadIntPtr(tp, TypeOffset.tp_flags);
32
if ((flags & TypeFlags.Managed) != 0)
33
{
34
IntPtr op = tp == ob
@@ -63,7 +63,7 @@ internal static bool IsManagedType(IntPtr ob)
63
64
65
66
67
68
69
return true;
0 commit comments