[threadpool-ms-io] Remove unnecessary asserts. Fixes #32947.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Tue, 11 Aug 2015 13:07:10 +0000 (15:07 +0200)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Tue, 11 Aug 2015 13:11:56 +0000 (15:11 +0200)
commit880134db576a971a8c6f31efc6ff6ee4e23b4cd0
tree4cdad9191e01150fcef6edac6c2c804dc1f4a428
parent6fc86ee499b93937a52d685a3ca01e5bbecbd0ae
[threadpool-ms-io] Remove unnecessary asserts. Fixes #32947.

Neither is_socket_async_callback nor is_async_read_handler need to
actually successfully load the classes they're comparing against;
if the classes can't be loaded, then the input class is obviously
not of that class.

This occurs when mscorlib is linked, the classes to compare against
might be linked away.

https://bugzilla.xamarin.com/show_bug.cgi?id=32947
mono/metadata/threadpool-ms-io.c