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>2015-06-01 18:02:51 +0300
committerJb Evain <jbevain@gmail.com>2015-06-01 18:02:51 +0300
commit64e7378355454323ad9d3cc148ebac8519440e0e (patch)
tree89dc50a8b939c06e61f2a134988c19b2cc3413e5
parent1366c5c164df34dc2c71ec49b3da82981c753ea4 (diff)
Fix bogus test
-rw-r--r--Test/Mono.Cecil.Tests/ImportReflectionTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/Mono.Cecil.Tests/ImportReflectionTests.cs b/Test/Mono.Cecil.Tests/ImportReflectionTests.cs
index cef6d20..87d9277 100644
--- a/Test/Mono.Cecil.Tests/ImportReflectionTests.cs
+++ b/Test/Mono.Cecil.Tests/ImportReflectionTests.cs
@@ -195,7 +195,7 @@ namespace Mono.Cecil.Tests {
il.Emit (OpCodes.Ldnull);
il.Emit (OpCodes.Ldarg_1);
il.Emit (OpCodes.Callvirt, module.ImportReference (typeof (Generic<string>).GetMethod ("ComplexGenericMethod").MakeGenericMethod (typeof (int))));
- il.Emit (OpCodes.Ldfld, module.ImportReference (typeof (Generic<string>).GetField ("Field")));
+ il.Emit (OpCodes.Ldfld, module.ImportReference (typeof (Generic<int>).GetField ("Field")));
il.Emit (OpCodes.Ret);
});