[Mono-bugs] [Bug 30260][Wis] New - System.Diagnostics.EventLog is incomplete

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
12 Sep 2002 17:18:37 -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 duncan@ximian.com.

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

--- shadow/30260	Thu Sep 12 13:18:37 2002
+++ shadow/30260.tmp.5389	Thu Sep 12 13:18:37 2002
@@ -0,0 +1,42 @@
+Bug#: 30260
+Product: Mono/Class Libraries
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: duncan@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Diagnostics.EventLog is incomplete
+
+When trying to compile LogInfo.cs and LogWrite.cs from the Quickstart
+tutorials, I get these errors:
+
+duncan:~/src/testing/Diagnostics $ mcs LogInfo.cs 
+LogInfo.cs(31) error CS0117: `System.Diagnostics.EventLog' does not contain
+a definition for `Exists'
+LogInfo.cs(38) error CS0117: `System.Diagnostics.EventLog' does not contain
+a definition for `Log'
+LogInfo.cs(39) error CS0117: `System.Diagnostics.EventLog' does not contain
+a definition for `MachineName'
+LogInfo.cs(41) error CS0117: `System.Diagnostics.EventLog' does not contain
+a definition for `Entries'
+
+
+duncan:~/src/testing/Diagnostics $ mcs LogWrite.cs 
+LogWrite.cs(19) error CS0117: `System.Diagnostics.EventLog' does not
+contain a definition for `SourceExists'
+LogWrite.cs(24) error CS0117: `System.Diagnostics.EventLog' does not
+contain a definition for `Source'
+LogWrite.cs(26) error CS0117: `System.Diagnostics.EventLog' does not
+contain a definition for `Log'
+LogWrite.cs(31) error CS0117: `System.Diagnostics.EventLog' does not
+contain a definition for `WriteEntry'
+Compilation failed: 4 error(s), 0 warnings