[Mono-dev] Incompatibility

Greg Young gregoryyoung1 at gmail.com
Fri Aug 10 17:01:40 UTC 2012


[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.


More information about the Mono-devel-list mailing list