You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better error message for * Assertion at /Users/runner/work/1/s/src/mono/mono/metadata/marshal-ilgen.c:6204, condition `sig->param_count == invoke_sig->param_count + 1' not met
#46926
Closed
rolfbjarne opened this issue
Jan 13, 2021
· 2 comments
This was due to a bug in my code, but it took me quite a while to figure out where the problem was, because the assert doesn't give any information as to where in the invalid assembly I should even start looking.
In other words: the bug is that this assert should show information about the type/method in question that causes the problem, which would make it much easier to figure out where the problem is.
The text was updated successfully, but these errors were encountered:
I recently ran into this assert in the AOT compiler:
runtime/src/mono/mono/metadata/marshal-ilgen.c
Line 6228 in 55211d2
This was due to a bug in my code, but it took me quite a while to figure out where the problem was, because the assert doesn't give any information as to where in the invalid assembly I should even start looking.
In other words: the bug is that this assert should show information about the type/method in question that causes the problem, which would make it much easier to figure out where the problem is.
The text was updated successfully, but these errors were encountered: