xamarin-macios/tests/test-libraries
Rolf Bjarne Kvinge 10481fcf62
[runtime] Don't throw exceptions when checking if a token reference exists (and not finding any). Fixes #3830. (#3995)
* [runtime] Don't throw exceptions when checking if a token reference exists (and not finding any). Fixes #3830.

It's not necessarily bad to not be able to find a token reference for a class:
in particular not if we're just checking if a token reference exists. In this
case, don't throw any exceptions, so that the fall-back code path (if no token
references were found) can execute properly.

This scenario occurs when all the following are true:

* The runtime runs into a native object that is exposed in managed as a protocol.
* The native type's managed type does not implement the protocol.
* The dynamic registrar is being used.

Fixes https://github.com/xamarin/xamarin-macios/issues/3830.
2018-04-27 11:33:33 +02:00
..
.gitignore [monotouch-test] Move generated files out of the "all test files" wildcard. (#2958) 2017-11-06 17:16:32 +01:00
Makefile Optimize calls to BlockLiteral.SetupBlock to inject the block signature. (#3391) 2018-02-06 07:08:15 +01:00
XTest-Info.plist [tests] Add test-libraries. 2016-04-26 08:00:35 -04:00
libframework.h [tests] Add test-libraries. 2016-04-26 08:00:35 -04:00
libframework.m [tests] Add test-libraries. 2016-04-26 08:00:35 -04:00
libtest.cs [tests] Generate some trampoline and registrar tests. 2016-10-13 15:10:43 +02:00
libtest.h [runtime] Don't throw exceptions when checking if a token reference exists (and not finding any). Fixes #3830. (#3995) 2018-04-27 11:33:33 +02:00
libtest.m [runtime] Don't throw exceptions when checking if a token reference exists (and not finding any). Fixes #3830. (#3995) 2018-04-27 11:33:33 +02:00
libtest2.h [tests] Add test for bug #43689. 2017-02-10 14:46:29 +01:00
libtest2.m [tests] Add test for bug #43689. 2017-02-10 14:46:29 +01:00
rename.h [runtime] Don't throw exceptions when checking if a token reference exists (and not finding any). Fixes #3830. (#3995) 2018-04-27 11:33:33 +02:00
testgenerator.cs [macos] Fix XM binding projects to work with Full 2018-03-21 14:27:53 -05:00
testgenerator.csproj [tests] Generate some trampoline and registrar tests. 2016-10-13 15:10:43 +02:00