diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-03-30 01:48:00 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-03-30 01:48:52 +0300 |
commit | a2462e19e9874e1b2cf69e89184d426054721c4b (patch) | |
tree | 335eac36fa9ae8268d3e10fac362623ecad4ec7c /mcs/class/System.Net.Http | |
parent | 4d7931cd0f71005ab4797bbab3a49d91e464df98 (diff) |
[System.Net.Http] Add IVT to Xamarin.* assemblies and update Mac
NSUrlSessionHandler is in Foundation namespace on XM
(cherry picked from commit 5460d8af74e581f1da7a3fe8922dbc7c3e24b501)
Diffstat (limited to 'mcs/class/System.Net.Http')
-rw-r--r-- | mcs/class/System.Net.Http/Assembly/AssemblyInfo.cs | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/mcs/class/System.Net.Http/Assembly/AssemblyInfo.cs b/mcs/class/System.Net.Http/Assembly/AssemblyInfo.cs index 0e3386fdc81..888e87bd501 100644 --- a/mcs/class/System.Net.Http/Assembly/AssemblyInfo.cs +++ b/mcs/class/System.Net.Http/Assembly/AssemblyInfo.cs @@ -66,9 +66,22 @@ using System.Runtime.InteropServices; [assembly: InternalsVisibleTo ("System.Net.Http.WebRequest, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] -#if MONOTOUCH || XAMMAC || XAMMAC_4_5 -[assembly: TypeForwardedToAttribute (typeof(System.Net.Http.NSUrlSessionHandler))] -#if !MONOTOUCH_WATCH -[assembly: TypeForwardedToAttribute (typeof(System.Net.Http.CFNetworkHandler))] +#if MONOTOUCH +[assembly: TypeForwardedToAttribute (typeof (System.Net.Http.NSUrlSessionHandler))] +[assembly: TypeForwardedToAttribute (typeof (System.Net.Http.CFNetworkHandler))] + +#if MONOTOUCH_TV +[assembly: InternalsVisibleTo ("Xamarin.TVOS, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] +#elif MONOTOUCH_WATCH +[assembly: InternalsVisibleTo ("Xamarin.WatchOS, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] +#else +[assembly: InternalsVisibleTo ("Xamarin.iOS, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] #endif + +#endif + +#if XAMMAC || XAMMAC_4_5 +[assembly: TypeForwardedToAttribute (typeof (Foundation.NSUrlSessionHandler))] +[assembly: TypeForwardedToAttribute (typeof (System.Net.Http.CFNetworkHandler))] +[assembly: InternalsVisibleTo ("Xamarin.Mac, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] #endif |