[Mono-bugs] [Bug 24146] New - Incorrect "Expression denotes a `property access` where a `variable` was expected" error

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
2 May 2002 23:36:23 -0000


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 joe@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=24146

--- shadow/24146	Thu May  2 19:36:23 2002
+++ shadow/24146.tmp.20390	Thu May  2 19:36:23 2002
@@ -0,0 +1,26 @@
+Bug#: 24146
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: joe@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incorrect "Expression denotes a `property access` where a `variable` was expected" error
+
+I am getting this error when I try to build the attached file with mcs. 
+Works fine with csc:
+
+caedes:/cvs/mono/gtk-sharp/glib$ mcs -o test.exe test.cs
+./test.cs(21) error CS0118: Expression denotes a `property access' where a
+`variable' was expected
+Error: Compilation failed
+RESULT: 1