[System.Data] Remove some win32-specific p/invokes for the mobile profile
authorSebastien Pouliot <sebastien@xamarin.com>
Sat, 21 Nov 2015 02:33:49 +0000 (21:33 -0500)
committerSebastien Pouliot <sebastien@xamarin.com>
Sat, 21 Nov 2015 02:33:49 +0000 (21:33 -0500)
commit444efa332946818574f69d4c1a7725e265f77fe9
treea01a402951e93225bff31c335b7c8fb17028a9de
parent4cdc90bc56ba35f426793709e497e26565400a8a
[System.Data] Remove some win32-specific p/invokes for the mobile profile

This reduce the size of System.dll and also removes some Win32 specific
p/invokes.

They cause native linking issues for tvOS as Xcode 7.1 does not allow
`-u` in bitcode-enabled builds so we have to call directly the symbols
and it must exists at (native) link time.

**Incomplete** (some remains) but enough so we can run LinkSDK and
System.Data unit tests apps (the managed linker can remove the rest)
mcs/class/System.Data/MobileStubs.cs [new file with mode: 0644]
mcs/class/System.Data/mobile_referencesource.sources