[System] Use 'ObjCRuntimeInternal' as the namespace instead of 'ObjCRuntime'. (#4820)
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Wed, 10 May 2017 14:52:01 +0000 (16:52 +0200)
committerGitHub <noreply@github.com>
Wed, 10 May 2017 14:52:01 +0000 (16:52 +0200)
commit3af24f31f3e13a33c285a09d4469255539bfb78e
tree6dde05572184571974f6e0a046ce54fdf55ed469
parent2517184252d8e458b2ef22c84e49c425cbd9ea25
[System] Use 'ObjCRuntimeInternal' as the namespace instead of 'ObjCRuntime'. (#4820)

Use 'ObjCRuntimeInternal' as the namespace instead of 'ObjCRuntime' to avoid
these compiler-warnings when building xamarin-macios assemblies (which defines
the same types in the ObjCRuntime namespace, and to whom System.dll has an
InternalsVisibleTo attribute):

> xamarin-macios/src/build/watch/watch/Foundation/NSExtensionRequestHandling.g.cs(28,49): warning CS0436: The type `ObjCRuntime.INativeObject' conflicts with the imported type of same name'. Ignoring the imported type definition
> xamarin-macios/src/ObjCRuntime/INativeObject.cs(6,19): (Location of the symbol related to previous warning)
> xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/lib/mono/Xamarin.WatchOS/repl/System.dll (Location of the symbol related to previous warning)
mcs/class/System/Mono.AppleTls/AppleTlsContext.cs
mcs/class/System/Mono.AppleTls/Certificate.cs
mcs/class/System/Mono.AppleTls/Enums.cs
mcs/class/System/Mono.AppleTls/INativeObject.cs
mcs/class/System/Mono.AppleTls/ImportExport.cs
mcs/class/System/Mono.AppleTls/Items.cs
mcs/class/System/Mono.AppleTls/Policy.cs
mcs/class/System/Mono.AppleTls/Trust.cs
mcs/class/System/System.Net/MacProxy.cs