Добавление IDisposable

This commit is contained in:
2025-02-23 10:18:38 +03:00
parent b6226b68c9
commit ae4979c9f9
12 changed files with 207 additions and 72 deletions
+3
View File
@@ -233,6 +233,9 @@ namespace mROA.Codegen
public MethodInfo GetMethod(int id)
{{
if (id == -1)
return typeof(IDisposable).GetMethod(""Dispose"");
if (_methods.Count <= id)
return null;