[Mono-bugs] [Bug 41989][Wis] New - Volatile emit/use missing

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 27 Apr 2003 13:24:31 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.


--- shadow/41989	Sun Apr 27 13:24:31 2003
+++ shadow/41989.tmp.10015	Sun Apr 27 13:24:31 2003
@@ -0,0 +1,29 @@
+Bug#: 41989
+Product: Mono/MCS
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Volatile emit/use missing
+Discussion topic.
+Due to missing features in MS.NET Reflection, MCS can not probe whether a
+field is volatile, nor set the information to make a field volatile.
+This is done by adding the `ModReq' flag to the field type:
+.field reqd [mscorlib]System.Runtime.CompilerServices.IsVolatile int32 a
+Maybe we could store this information in the FieldAttributes (using an
+unused bit there) for the time being, because using a dynamic invocation
+for "IsVolatile" might be very expensive.