[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System Uri.cs,1.39,1.40
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System Uri.cs,1.39,1.40 |
Date: |
Sun, 01 Jun 2003 14:56:26 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System
In directory subversions:/tmp/cvs-serv28329/System
Modified Files:
Uri.cs
Log Message:
Fixes to Uri to match changes in the compiler and TypeConverter to match spec
Index: Uri.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Uri.cs,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** Uri.cs 28 May 2003 04:53:36 -0000 1.39
--- Uri.cs 1 Jun 2003 18:56:24 -0000 1.40
***************
*** 165,168 ****
--- 165,177 ----
hasFastRegex = false;
}
+
+ schemes.Add(UriSchemeFile, new UriScheme(-1, "://"));
+ schemes.Add(UriSchemeFtp, new UriScheme(23,
"://"));
+ schemes.Add(UriSchemeGopher, new UriScheme(70, "://"));
+ schemes.Add(UriSchemeHttp, new UriScheme(80, "://"));
+ schemes.Add(UriSchemeHttps, new UriScheme(443, "://"));
+ schemes.Add(UriSchemeNntp, new UriScheme(119, "://"));
+ schemes.Add(UriSchemeMailto, new UriScheme(25, ":"));
+ schemes.Add(UriSchemeNews, new UriScheme(-1, ":"));
}
***************
*** 976,991 ****
this.delim = delim;
}
- }
-
- static Uri()
- {
- schemes.Add(UriSchemeFile, new UriScheme(-1, "://"));
- schemes.Add(UriSchemeFtp, new UriScheme(23,
"://"));
- schemes.Add(UriSchemeGopher, new UriScheme(70, "://"));
- schemes.Add(UriSchemeHttp, new UriScheme(80, "://"));
- schemes.Add(UriSchemeHttps, new UriScheme(443, "://"));
- schemes.Add(UriSchemeNntp, new UriScheme(119, "://"));
- schemes.Add(UriSchemeMailto, new UriScheme(25, ":"));
- schemes.Add(UriSchemeNews, new UriScheme(-1, ":"));
}
--- 985,988 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System Uri.cs,1.39,1.40,
Gopal.V <address@hidden> <=