X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Runtime.Remoting.Metadata.W3cXsd2001%2FSoapYearMonth.cs;h=db26c76e3f7a0e315ac2ecff45fe4523e7170e2f;hb=e5de7dacf97d50ed31d7cfeba43951f736fc1356;hp=d347847e669c4df1ca8cec2862c00c2d2d467299;hpb=a3ea7ceb4d4f5e2cb8ea421313e8939640fb898c;p=mono.git diff --git a/mcs/class/corlib/System.Runtime.Remoting.Metadata.W3cXsd2001/SoapYearMonth.cs b/mcs/class/corlib/System.Runtime.Remoting.Metadata.W3cXsd2001/SoapYearMonth.cs index d347847e669..db26c76e3f7 100644 --- a/mcs/class/corlib/System.Runtime.Remoting.Metadata.W3cXsd2001/SoapYearMonth.cs +++ b/mcs/class/corlib/System.Runtime.Remoting.Metadata.W3cXsd2001/SoapYearMonth.cs @@ -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; }