[release/6.0] [Mono] Fix uninitialized vtable bug (#67759)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 13 Apr 2022 15:55:05 +0000 (08:55 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Apr 2022 15:55:05 +0000 (08:55 -0700)
commitc3fcafb5235401609ece803553fa3432d913c444
treeae97db0a75030da6480b1e1126b4a682cdcbe7cd
parentf27251ac50ed507fcd1fe89d5429582f3e6e8401
[release/6.0] [Mono] Fix uninitialized vtable bug (#67759)

* Add functional test

* Fix vtable setup

* Add suggested code changes

* Improve arguments ordering

Co-authored-by: Simon Rozsival <simon@rozsival.com>
src/mono/mono/metadata/icall.c
src/tests/FunctionalTests/Android/Device_Emulator/AOT_System.IO.Stream/Android.Device_Emulator.Aot_System.IO.Stream.Test.csproj [new file with mode: 0644]
src/tests/FunctionalTests/Android/Device_Emulator/AOT_System.IO.Stream/Program.cs [new file with mode: 0644]