[System] Add back empty MonoTouch namespace
authorMarek Safar <marek.safar@gmail.com>
Fri, 17 Mar 2017 13:07:38 +0000 (14:07 +0100)
committerMarek Safar <marek.safar@gmail.com>
Fri, 17 Mar 2017 13:08:53 +0000 (14:08 +0100)
mcs/class/System/MonoTouch/Dummy.cs [new file with mode: 0644]
mcs/class/System/common.sources

diff --git a/mcs/class/System/MonoTouch/Dummy.cs b/mcs/class/System/MonoTouch/Dummy.cs
new file mode 100644 (file)
index 0000000..f195a77
--- /dev/null
@@ -0,0 +1,16 @@
+#if MONOTOUCH
+
+namespace MonoTouch
+{
+       // Exists only not to break existing source code due to broken C# namespace rules
+       // which allow using for empty namespace
+       sealed class Dummy
+       {
+               private Dummy ()
+               {
+
+               }
+       }
+}
+
+#endif
index 15322fe8fc26a42a87007a96db58e7da3639c757..ab7252b07f3da360c85a3bdd65249d033bec71c6 100644 (file)
@@ -311,6 +311,8 @@ Mono.Net.Security/SystemCertificateValidator.cs
 
 Mono.Util/MonoPInvokeCallbackAttribute.cs
 
+MonoTouch/Dummy.cs
+
 ReferenceSources/AutoWebProxyScriptEngine.cs
 ReferenceSources/AssertWrapper.cs
 ReferenceSources/CAPI.cs