[bxc#18361] mdbrebase: use File.Move instead of FileInfo.MoveTo
[mono.git] / mcs / tools / mdbrebase / mdbrebase.cs
index 40b683600311feffd744b79d3a38db0a50d4ca5e..a4213811dba78f329bc1cedb4571a3f5a181a23a 100644 (file)
@@ -93,7 +93,7 @@ class MdbRebase
                input.Dispose ();
 
                File.Delete (finalMdb);
-               new FileInfo (tmpMdb).MoveTo (finalMdb);
+               File.Move (tmpMdb, finalMdb);
        }
 }
 
@@ -137,4 +137,4 @@ class Driver {
 
        }
 }
-}
\ No newline at end of file
+}