* ILParser.jay (custom_type): Allow any method name.
[mono.git] / mcs / ilasm / errors / err-custom-mod-1.il
1 // Custom mods are part of method signature
2 // .get of property Prop doesn't have a complete
3 // signature as its missing the custom mods defined in
4 // get method
5
6 .assembly extern mscorlib
7 {
8   .ver 1:0:5000:0
9   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
10 }
11 .assembly 'property'
12 {
13   .hash algorithm 0x00008004
14   .ver  0:0:0:0
15 }
16 .module property.dll // GUID = {82691A71-F9F3-480E-96B0-09358B1EDA12}
17
18   .class public auto ansi beforefieldinit TestMods
19         extends [mscorlib]System.Object
20   {
21     .method public static  hidebysig  specialname
22            default int32 modopt ([mscorlib]System.String)
23            modreq ([mscorlib]System.ValueType) get_Prop ()  cil managed
24     {
25         .maxstack 8
26         IL_0000:  ldc.i4.s 0x0b
27         IL_0002:  ret
28     }
29
30         .property int32 Prop ()
31         {
32                 .get default int32 TestMods::get_Prop () 
33         }
34
35   }