* FileInfo.cs: Ensure elevated trust when calling Delete on
Moonlight.
svn path=/trunk/mcs/; revision=155869
+2010-04-21 Sebastien Pouliot <sebastien@ximian.com>
+
+ * FileInfo.cs: Ensure elevated trust when calling Delete on
+ Moonlight.
+
2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
* Directory.cs: Ensure elevated trust when calling on
{
MonoIOError error;
+ SecurityManager.EnsureElevatedPermissions (); // this is a no-op outside moonlight
+
if (!MonoIO.Exists (FullPath, out error))
// a weird MS.NET behaviour
return;