diff options
Diffstat (limited to 'Test/Mono.Cecil.Tests')
-rw-r--r-- | Test/Mono.Cecil.Tests/ModuleTests.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Test/Mono.Cecil.Tests/ModuleTests.cs b/Test/Mono.Cecil.Tests/ModuleTests.cs index e5124be..82e0dde 100644 --- a/Test/Mono.Cecil.Tests/ModuleTests.cs +++ b/Test/Mono.Cecil.Tests/ModuleTests.cs @@ -273,8 +273,7 @@ namespace Mono.Cecil.Tests { original.Types.Add (type); original.Write (path); - - using (var module = ModuleDefinition.ReadModule (path)) { + using (var module = ModuleDefinition.ReadModule (path, new ReaderParameters { ReadWrite = true })) { module.Write (); } |