Merge pull request #5180 from alexrp/profiler-zero-freq
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Metadata.W3cXsd2001 / SoapYearMonth.cs
index d347847e669c4df1ca8cec2862c00c2d2d467299..db26c76e3f7a0e315ac2ecff45fe4523e7170e2f 100644 (file)
@@ -1,5 +1,5 @@
 //
-// System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth
+// System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth.cs
 //
 // Authors:
 //      Martin Willemoes Hansen (mwh@sysrq.dk)
@@ -37,6 +37,7 @@ using System.Globalization;
 namespace System.Runtime.Remoting.Metadata.W3cXsd2001 
 {
        [Serializable]
+       [System.Runtime.InteropServices.ComVisible (true)]
        public sealed class SoapYearMonth : ISoapXsd
        {
                static readonly string[] _datetimeFormats = new string[]
@@ -56,14 +57,14 @@ namespace System.Runtime.Remoting.Metadata.W3cXsd2001
                {
                }
 
-               public SoapYearMonth (DateTime date)
+               public SoapYearMonth (DateTime value)
                {
-                       _value = date;
+                       _value = value;
                }
 
-               public SoapYearMonth (DateTime date, int sign)
+               public SoapYearMonth (DateTime value, int sign)
                {
-                       _value = date;
+                       _value = value;
                        _sign = sign;
                }