Imported Upstream version 3.12.0

Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
This commit is contained in:
Jo Shields
2015-01-13 10:44:36 +00:00
parent 8b9b85e7f5
commit 181b81b4a4
659 changed files with 12743 additions and 16300 deletions

View File

@ -26,11 +26,13 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Packaging;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace System.IO.Packaging.Tests {
namespace MonoTests.System.IO.Packaging {
[TestFixture]
public class PackageTest : TestBase {
@ -411,8 +413,8 @@ namespace System.IO.Packaging.Tests {
[ExpectedException (typeof (FileFormatException))]
public void WriteOnlyAccessExists ()
{
System.IO.File.Create (path).Close ();
File.Create (path).Close ();
package = Package.Open (path, FileMode.OpenOrCreate, FileAccess.Write);
}
}
}
}