2003-10-22 Sebastien Pouliot <spouliot@videotron.ca>
authorSebastien Pouliot <sebastien@ximian.com>
Thu, 23 Oct 2003 00:35:02 +0000 (00:35 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Thu, 23 Oct 2003 00:35:02 +0000 (00:35 -0000)
* SoapContext.cs: Fixed compilation for WSE1 (CS0118).

svn path=/trunk/mcs/; revision=19320

mcs/class/Microsoft.Web.Services/Microsoft.Web.Services/SoapContext.cs

index 964085ee82835740a8c2681dfafb339eda1991a7..66bb35433733dace98370ccbb5f1a5672b1ae623 100644 (file)
@@ -30,7 +30,7 @@ namespace Microsoft.Web.Services {
 #else
                private Uri actor = new Uri ("http://" + System.Net.Dns.GetHostName ());
 #endif
-               private Timestamp timestamp = new Timestamp ();
+               private Microsoft.Web.Services.Timestamp.Timestamp timestamp;
                private Microsoft.Web.Services.Security.Security security;
                private Hashtable table;
                private DimeAttachmentCollection attachments;
@@ -49,8 +49,8 @@ namespace Microsoft.Web.Services {
 
                internal SoapContext (SoapEnvelope env) 
                {
-#if WSE1
                        timestamp = new Microsoft.Web.Services.Timestamp.Timestamp ();
+#if WSE1
                        table = new Hashtable ();
 
                        envelope = env;