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-11-07 21:09:21 +0400
committerJb Evain <jbevain@gmail.com>2011-11-07 21:09:21 +0400
commitabdf659fdf506c6981eb5dd3a09affa85bf57843 (patch)
tree40ddbab743f18cf6641a64279f51d30e2519b522 /Test/Resources/il
parent1f6385763d04e69441e464c5d20e9b70cd8fa4fc (diff)
Add test for custom attributes with a null blob
Diffstat (limited to 'Test/Resources/il')
-rw-r--r--Test/Resources/il/types.il12
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/Resources/il/types.il b/Test/Resources/il/types.il
index 4c9acaf..b230c21 100644
--- a/Test/Resources/il/types.il
+++ b/Test/Resources/il/types.il
@@ -44,3 +44,15 @@
.field private static literal int16 int16_char = char(0x0073)
.field private static literal int32 int32_nullref = nullref
}
+
+.class public auto ansi CustomAttribute extends [mscorlib]System.Attribute
+{
+ .custom instance void CustomAttribute::.ctor() = ()
+
+ .method public hidebysig specialname rtspecialname instance void .ctor()
+ {
+ ldarg.0
+ call instance void [mscorlib]System.Attribute::.ctor()
+ ret
+ }
+}