Skip to content

Commit e38a363

Browse files
committed
Remove unused code
1 parent 6db3181 commit e38a363

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/runtime/interop.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Runtime.InteropServices;
66
using System.Reflection;
77
using System.Text;
8-
using System.Linq;
98

109
namespace Python.Runtime
1110
{
@@ -356,13 +355,6 @@ public static void FreeModuleDef(IntPtr ptr)
356355
public static int name = 0;
357356
}
358357

359-
static class TypeOffsetHelper
360-
{
361-
public static string GetSlotNameByOffset(int offset)
362-
{
363-
return typeof(TypeOffset).GetFields().First(fi => (int)fi.GetValue(null) == offset).Name;
364-
}
365-
}
366358

367359
/// <summary>
368360
/// TypeFlags(): The actual bit values for the Type Flags stored

0 commit comments

Comments
 (0)