[Mono-dev] Incompatibility

Jonathan Chambers joncham at gmail.com
Fri Aug 10 17:09:03 UTC 2012


Historically, mono has done what .Net does rather than what it says.

- Jonathan

On Fri, Aug 10, 2012 at 1:07 PM, Greg Young <gregoryyoung1 at gmail.com> wrote:

> bizarre, their docs say it should throw but they don't.
> http://msdn.microsoft.com/en-us/library/system.io.file.setattributes.aspx
>
> Not sure which is better, what they say they do or what they do?
>
> On Fri, Aug 10, 2012 at 10:01 AM, Greg Young <gregoryyoung1 at gmail.com>
> wrote:
> > [Test]
> > public void does_not_throw_exception_on_non_existing_file() {
> >    Assert.DoesNotThrow(() => File.SetAttributes("DOESNOTEXIST",
> > FileAttributes.ReadOnly));
> > }
> >
> > Cheers,
> >
> > Greg
> >
> > --
> > Le doute n'est pas une condition agréable, mais la certitude est absurde.
>
>
>
> --
> Le doute n'est pas une condition agréable, mais la certitude est absurde.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120810/88adf1f9/attachment.html>


More information about the Mono-devel-list mailing list