El mar, 24-09-2002 a las 15:48, Martin Aliger escribi�:
> Hi all,
> 
> I try compile newest stable NAnt with mcs (to help with docs). Except others these 
>problems/bugs occurs:
> 
> NAnt.cs:GetBuildFileName tries call System.Path.IsPathRooted(null) which throws 
>NullArgumentException. In MS libs maybe not (not tested but NAnt relies on that). I 
>have MS docs avaiable and there is no mension about Exceptions. Further, are you 
>sure, mono implementation of IsPathRooted is CORRECT? I'm not (on Windows)...

Do you have old assemblies?

>From Path.cs -> IsPathRooted (string path):
----
if (path == null || path.Length == 0)
        return false;
----

It should not throw a NullArgumentException (the same as MS).

-Gonzalo



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to