Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jbevain@gmail.com>2011-10-27 16:53:07 +0400
committerJb Evain <jbevain@gmail.com>2011-10-27 16:53:07 +0400
commit8771de6415d3fa5e34b12fd90519a5405c02e8b2 (patch)
tree0a1707ab3fc77c49d3f5f6f51628089ccffb1d19 /Test/Mono.Cecil.Tests/CustomAttributesTests.cs
parentecdd7454b53a4d6b57c9eb2a500b91025a63b401 (diff)
First pass at a branch with reduced memory usage; Keeps an open handle on the file, dispose your modules
Diffstat (limited to 'Test/Mono.Cecil.Tests/CustomAttributesTests.cs')
-rw-r--r--Test/Mono.Cecil.Tests/CustomAttributesTests.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Test/Mono.Cecil.Tests/CustomAttributesTests.cs b/Test/Mono.Cecil.Tests/CustomAttributesTests.cs
index 6565ba6..ab8897d 100644
--- a/Test/Mono.Cecil.Tests/CustomAttributesTests.cs
+++ b/Test/Mono.Cecil.Tests/CustomAttributesTests.cs
@@ -376,6 +376,8 @@ namespace Mono.Cecil.Tests {
Assert.IsNotNull (attribute);
Assert.AreEqual ("CaBlob", (string) attribute.ConstructorArguments [0].Value);
+
+ module.Dispose ();
}
static void AssertCustomAttribute (string expected, CustomAttribute attribute)