Signature fixes
authorMiguel de Icaza <miguel@gnome.org>
Wed, 19 Nov 2003 19:55:48 +0000 (19:55 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 19 Nov 2003 19:55:48 +0000 (19:55 -0000)
svn path=/trunk/mcs/; revision=20245

mcs/class/corlib/System.Globalization/CalendricalCalculations.cs
mcs/class/corlib/System.Globalization/HijriCalendar.cs
mcs/class/corlib/System.Globalization/JapaneseCalendar.cs
mcs/class/corlib/System.Globalization/TaiwanCalendar.cs
mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs
mcs/class/corlib/System.Runtime.Remoting.Proxies/RemotingProxy.cs
mcs/class/corlib/System.Runtime.Remoting/RemotingConfiguration.cs
mcs/class/corlib/System.Runtime.Remoting/SoapServices.cs

index 3f493f2cc2e5eaea70ef273e983843789e9da04e..3e4095df14fc68ddbc51f5870baa512fb2f68dee 100644 (file)
@@ -1549,7 +1549,7 @@ internal class CCHebrewCalendar {
 /// </para>
 /// <seealso cref="T:CCFixed"/>
 /// </remarks>
-public class CCHijriCalendar {
+internal class CCHijriCalendar {
        /// <summary>An integer defining the epoch of the Gregorian calendar
        /// as fixed day number.</summary>
        /// <remarks>
@@ -1822,7 +1822,7 @@ public class CCHijriCalendar {
 /// (e.g. <see cref="T:System.Gloablization.JapaneseCalendar"/>).
 /// </summary>
 [System.Serializable]
-public class CCGregorianEraHandler {
+internal class CCGregorianEraHandler {
        /// <summary>
        /// A struct that represents a single era.
        /// </summary>
index d7f76d0809ba6818908605eef46f4ebd0269f3a8..9673695008fa70bffc6bf344b77b926fb41603ab 100644 (file)
@@ -8,6 +8,7 @@ namespace System.Globalization {
 using System;
 using System.IO;
 
+
 /// <summary>
 /// This is the Hijri calendar which might be called Islamic calendar. 
 /// </summary>
@@ -90,7 +91,7 @@ public class HijriCalendar : Calendar {
        /// <value>An integer property representing the adjustment to the epoch
        /// of the Hijri calendar. Not supported by .NET.
        /// </value>
-       public virtual int AddHijriDate {
+       internal virtual int AddHijriDate {
                get {
                        return M_AddHijriDate;
                }
@@ -312,6 +313,11 @@ public class HijriCalendar : Calendar {
                }
        }
 
+#if false
+       //
+       // The following routines are commented out as they do not appear on the .NET Framework 1.1
+       //
+
        /// <summary>
        /// Overridden. Adds days to a given date.
        /// </summary>
@@ -525,7 +531,8 @@ public class HijriCalendar : Calendar {
                M_CheckDateTime(time);
                return base.GetMinute(time);
        }
-
+#endif
+       
        /// <summary>
        /// Overrideden. Adds months to a given date.
        /// </summary>
index 75e553ded50750becd5a271a2103650a0f4936ff..44ce16b158b75a47766ff68c06678da8553895ca 100644 (file)
@@ -216,7 +216,10 @@ public class JapaneseCalendar : Calendar {
                return gregorianYear;
        }
 
+#if false
 
+       // Ifdefed out because this is not on the .NET Framewokr.
+       
        /// <summary>
        /// Overridden. Adds days to a given date.
        /// </summary>
@@ -431,7 +434,8 @@ public class JapaneseCalendar : Calendar {
                M_CheckDateTime(time);
                return base.GetMinute(time);
        }
-
+#endif
+       
        /// <summary>
        /// Overrideden. Adds months to a given date.
        /// </summary>
index e1875667752f710bbc5b07c3e4c032750aeb0ea3..e0dc6a4d848007385b7f0516acb7d8a6dde44bb4 100644 (file)
@@ -180,6 +180,10 @@ public class TaiwanCalendar : Calendar {
                return gregorianYear;
        }
 
+#if false
+
+       // Ifdefed out because this is not on the .NET Framework
+       
        /// <summary>
        /// Overridden. Adds days to a given date.
        /// </summary>
@@ -394,7 +398,8 @@ public class TaiwanCalendar : Calendar {
                M_CheckDateTime(time);
                return base.GetMinute(time);
        }
-
+#endif
+       
        /// <summary>
        /// Overrideden. Adds months to a given date.
        /// </summary>
index 323b07f857fd8ce616e5db1af944fd430d463c42..75f5b564ad48114ddbf650c8b213c9f7a1b82e4d 100644 (file)
@@ -122,7 +122,7 @@ namespace System.Runtime.Remoting.Proxies
                }
 
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
-               public extern virtual object InternalGetTransparentProxy ();
+               internal extern virtual object InternalGetTransparentProxy ();
 
                public virtual object GetTransparentProxy () 
                {
index da554d6b1e50065e4ecf603b31d92937c9f4926f..c31ef38339b4fec9204594ee6d9be08211c812b0 100644 (file)
@@ -21,7 +21,7 @@ using System.Threading;
 namespace System.Runtime.Remoting.Proxies
 {
 
-       public class RemotingProxy : RealProxy 
+       internal class RemotingProxy : RealProxy 
        {
                static MethodInfo _cache_GetTypeMethod = typeof(System.Object).GetMethod("GetType");
                static MethodInfo _cache_GetHashCodeMethod = typeof(System.Object).GetMethod("GetHashCode");
index 84fcb012c52a81594f347bf6585c284089a985ed..ece1b43a84e437b365c2b9a6938530d13b96e2ed 100644 (file)
@@ -20,6 +20,13 @@ namespace System.Runtime.Remoting
 {      
        public class RemotingConfiguration
        {
+               //
+               // Private constructor: nobody instantiates this.
+               //
+               private RemotingConfiguration ()
+               {
+               }
+               
                static string applicationID = null;
                static string applicationName = null;
                static string configFile = "";
index 0fca23bef2eb5d034ca96b155a511a00e1bef2a0..e9b6159d7ecf20302aaf63f0a57cfcf2137013d9 100644 (file)
@@ -19,6 +19,9 @@ namespace System.Runtime.Remoting {
        [ClassInterface (ClassInterfaceType.AutoDual)]
        public class SoapServices
        {
+               // Private constructor: nobody instantiates this class
+               private SoapServices () {}
+               
                // properties
        
                public static string XmlNsForClrType 
@@ -127,11 +130,6 @@ namespace System.Runtime.Remoting {
                        return ns + "#" + mb.Name;
                }
 
-               [MonoTODO]
-               public new Type GetType () {
-                       throw new NotImplementedException (); 
-               }
-
                public static bool GetTypeAndMethodNameFromSoapAction (string soapAction, 
                                                                        out string typeName, 
                                                                        out string methodName) {