Only return true on Windows for Uri.IsUnc on file:// URI
authorSebastien Pouliot <sebastien@ximian.com>
Mon, 20 Sep 2010 17:36:59 +0000 (13:36 -0400)
committerSebastien Pouliot <sebastien@ximian.com>
Mon, 20 Sep 2010 21:07:51 +0000 (17:07 -0400)
commit7f06c7980eaa3d4fc09510cf930d0537e509a6d1
tree20623ec812736d50bc8339260893afe3b0799c7d
parent0d098aed04eb3f33204f0cbd8b016aa539398750
Only return true on Windows for Uri.IsUnc on file:// URI

* System/Uri.cs: IsUnc returns true for file:/// URI on Windows only.
This makes us closer to Mac-behavior (see NCL tests) since the other
properties, e.g. LocalPath, match this. Also fix some exception text
where the values are checked by some test cases.

* Test/System/UriTest.cs: Adjust some test cases wrt Win32
* Test/System/UriTest2.cs: Adjust a test case wrt Win32
mcs/class/System/System/Uri.cs
mcs/class/System/Test/System/UriTest.cs
mcs/class/System/Test/System/UriTest2.cs