[Mono-bugs] [Bug 424663] accesses to avolatile fields in generic types aren' t compiled correctly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 9 01:38:54 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=424663

User jeroen at sumatra.nl added comment
https://bugzilla.novell.com/show_bug.cgi?id=424663#c1





--- Comment #1 from Jeroen Frijters <jeroen at sumatra.nl>  2008-09-08 23:38:53 MDT ---
Oops, forget to paste the code:

class Gen<T> {
  internal static volatile string str = "Hello";
}

class Test {
  static void Main(string[] args) {
    System.Console.WriteLine(Gen<string>.str);
  }
}


-- 
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.


More information about the mono-bugs mailing list