diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-03-29 19:14:54 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-03-29 19:43:36 +0300 |
commit | 179f3fecf06485e24b321d28966b3707bfa14a03 (patch) | |
tree | 82546a8eeb3e77252c292cdfa4a5a0ed82ef9916 /src | |
parent | d0b7a0bbe0b9ef89549ecaaa1ab5fe18ca38ae15 (diff) |
Move Http types into Xamarin.* assemblies
Diffstat (limited to 'src')
-rw-r--r-- | src/monotouch/Xamarin.Mac.extra.cs | 24 | ||||
-rw-r--r-- | src/monotouch/Xamarin.TVOS.extra.cs | 24 | ||||
-rw-r--r-- | src/monotouch/Xamarin.WatchOS.extra.cs | 20 | ||||
-rw-r--r-- | src/monotouch/Xamarin.iOS.extra.cs | 24 |
4 files changed, 92 insertions, 0 deletions
diff --git a/src/monotouch/Xamarin.Mac.extra.cs b/src/monotouch/Xamarin.Mac.extra.cs new file mode 100644 index 0000000..0a33f5a --- /dev/null +++ b/src/monotouch/Xamarin.Mac.extra.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +[assembly:System.Runtime.CompilerServices.InternalsVisibleTo("System.Net.Http, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] + +namespace ObjCRuntime +{ + internal class RuntimeOptions + { + internal static System.Net.Http.HttpMessageHandler GetHttpMessageHandler() { throw null; } + } +} + +namespace System.Net.Http +{ + public class CFNetworkHandler + { + } + + public class NSUrlSessionHandler + { + } +} diff --git a/src/monotouch/Xamarin.TVOS.extra.cs b/src/monotouch/Xamarin.TVOS.extra.cs new file mode 100644 index 0000000..0a33f5a --- /dev/null +++ b/src/monotouch/Xamarin.TVOS.extra.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +[assembly:System.Runtime.CompilerServices.InternalsVisibleTo("System.Net.Http, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] + +namespace ObjCRuntime +{ + internal class RuntimeOptions + { + internal static System.Net.Http.HttpMessageHandler GetHttpMessageHandler() { throw null; } + } +} + +namespace System.Net.Http +{ + public class CFNetworkHandler + { + } + + public class NSUrlSessionHandler + { + } +} diff --git a/src/monotouch/Xamarin.WatchOS.extra.cs b/src/monotouch/Xamarin.WatchOS.extra.cs new file mode 100644 index 0000000..505bffc --- /dev/null +++ b/src/monotouch/Xamarin.WatchOS.extra.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +[assembly:System.Runtime.CompilerServices.InternalsVisibleTo("System.Net.Http, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] + +namespace ObjCRuntime +{ + internal class RuntimeOptions + { + internal static System.Net.Http.HttpMessageHandler GetHttpMessageHandler() { throw null; } + } +} + +namespace System.Net.Http +{ + public class NSUrlSessionHandler + { + } +} diff --git a/src/monotouch/Xamarin.iOS.extra.cs b/src/monotouch/Xamarin.iOS.extra.cs new file mode 100644 index 0000000..0a33f5a --- /dev/null +++ b/src/monotouch/Xamarin.iOS.extra.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +[assembly:System.Runtime.CompilerServices.InternalsVisibleTo("System.Net.Http, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] + +namespace ObjCRuntime +{ + internal class RuntimeOptions + { + internal static System.Net.Http.HttpMessageHandler GetHttpMessageHandler() { throw null; } + } +} + +namespace System.Net.Http +{ + public class CFNetworkHandler + { + } + + public class NSUrlSessionHandler + { + } +} |