MethodInfo.Invoke() doesnt work properly

Well AssignmentBug was about a bug with missing RTTI for generic instantiations. THis seems completely unrelated? Do you have a working testcase that shows this?

Shows what exactly?

these two:

it works for records/classes pretty well, EXCEPT FOR: INT64 and UINT64

Unfortunately, it still crashes with generics, (you can add a generic property in the Project i gave to you and look) :confused:

Unless with “generic property” you mean like in the assignment testcase, then that’s solved already.

Either way, when does int64 fail?

Ah yes, Actually as i said at the beginning of this post, you can use the same Project, because :slight_smile:

  1. The Assignment-bug was in that Project
    and
  2. the Invok()-Bug was in that Project, where I defined a UINT64 and INT64 property and assigned some in-range-values, when i pressed start and debuged the program, i found that the value which i had expected, wasnt in the car-variable instead it was some crap, like 1899943894934039 rather than, -2000?

Thx, fixed

1 Like

GREAT! :heart_eyes: :heart_eyes: