[Mono-bugs] [Bug 72698][Nor] Changed - mcs expects fixed(...) where it should not be necessary
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Feb 2005 05:22:15 -0500 (EST)
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 rharinath@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=72698
--- shadow/72698 2005-02-17 15:41:00.000000000 -0500
+++ shadow/72698.tmp.15935 2005-02-18 05:22:15.000000000 -0500
@@ -1,14 +1,14 @@
Bug#: 72698
Product: Mono: Compilers
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: C#
AssignedTo: mono-bugs@ximian.com
ReportedBy: m_kretzschmar@gmx.net
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -34,6 +34,13 @@
test.cs(7) error CS0212: You can only take the address of an unfixed
expression inside of a fixed statement initializer
Compilation failed: 1 error(s), 0 warnings
Someone on #mono tried csc /unsafe and it compiled cleanly.
+
+------- Additional Comments From rharinath@novell.com 2005-02-18 05:22 -------
+Yep.
+
+A pointer-member-access (P->I) results in a fixed variable (section
+25.3), and thus doesn't need a 'fixed' statement.
+