Ensure that we only reflect into monotouch if the type exists.
commit42bb87da50c5a2775f903968d213dd64b494fe7e
authorGeoff Norton <gnorton@novell.com>
Fri, 20 Aug 2010 14:50:02 +0000 (20 10:50 -0400)
committerGeoff Norton <gnorton@novell.com>
Fri, 20 Aug 2010 14:54:07 +0000 (20 10:54 -0400)
treef6a910ba08964f0f85d80afcb83b3ae23de8f97e
parent5d41d6b47f2ed1fbdedfb3639322a628fc7bd41f
Ensure that we only reflect into monotouch if the type exists.

There is a possible crash using this profile if the monotouch.dll
isn't loaded into the process space.  We will null guard the
type and only call start_wwan if its present.
mcs/class/System/System.Net/WebConnection.cs