mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 09:38:01 +02:00
Improved reflection method invocation argument handling
This commit is contained in:
parent
fa3b69e0c7
commit
bc46807003
3 changed files with 15 additions and 6 deletions
|
@ -108,6 +108,8 @@ namespace System.Reflection
|
|||
|
||||
if (methodInfo.Invoke(targetAttr, params args) case .Ok(var val))
|
||||
val.Dispose();
|
||||
else
|
||||
return .Err;
|
||||
return .Ok;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue