https://bugzilla.novell.com/show_bug.cgi?id=376875
Summary: Missing volatile. prefix for external volatile fields Product: Mono: Compilers Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: mono-bugs@lists.ximian.com ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- 1. Compile as a library public class C { public static volatile int i; } 2. -r:library.dll public class Css { public static void Main () { C.i = 12; } } Expected IL method public hidebysig static void Main() cil managed { .entrypoint // Code size 11 (0xb) .maxstack 8 IL_0000: nop IL_0001: ldc.i4.s 12 IL_0003: volatile. IL_0005: stsfld int32 modreq([mscorlib]System.Runtime.CompilerServices.IsVolatile) ['test-900-lib']C::i IL_000a: ret } // end of method Css::Main -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs