Добавление IDisposable
This commit is contained in:
1 parent
b6226b68c9
commit
ae4979c9f9
12 files changed
+207
-72
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user