Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit d9d5562

Browse files
committed
Remove unused code
Addresses comment: amos402: Hummm, seems I only use it in my previous version, I will check it latter. pythonnet#958
1 parent 9b6d140 commit d9d5562

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/runtime/classmanager.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ public static void Reset()
3939
cache = new Dictionary<Type, ClassBase>(128);
4040
}
4141

42-
public static IList<ClassBase> GetManagedTypes()
43-
{
44-
return cache.Values.ToArray(); // Make a copy.
45-
}
46-
4742
internal static void RemoveClasses()
4843
{
4944
var visited = new HashSet<IntPtr>();

src/runtime/typemanager.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ internal static void Initialize()
4141
Runtime.XDecref(type);
4242
}
4343

44-
public static IList<IntPtr> GetManagedTypes()
45-
{
46-
return cache.Values.ToArray();
47-
}
48-
4944
internal static void RemoveTypes()
5045
{
5146
foreach (var tpHandle in cache.Values)

0 commit comments

Comments
 (0)