diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2007-01-18 07:17:22 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2007-01-18 07:17:22 +0300 |
commit | e9156bb4b89d647f51b40777ef7f2efca3d6483b (patch) | |
tree | 265ccc0462bd6d9ea7fbc26d497667359074debc /mcs/class/System/System.Diagnostics/TraceListener.cs | |
parent | 153893ccb948f4e7b57e0b0718b3fc01e481e597 (diff) |
2007-01-18 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources: added new sources:
TraceSource.cs, SourceLevels.cs, CorrelationManager.cs,
TraceEventCache.cs, TraceEventType.cs and SourceSwitch.cs.
* System_test.dll.sources: added new tests:
TraceSourceTest.cs and SourceSwitchTest.cs.
* Switch.cs : added missing .ctor(), Attributes, Value,
GetSupportedAttributes() and OnValueChanged().
* DiagnosticsConfigurationHandler.cs : added some hacky handler for
new "sources" element. Don't wrap another ConfigurationException.
* TraceListener.cs : added missing trace methods.
* TraceSource.cs, SourceLevels.cs, CorrelationManager.cs,
TraceEventCache.cs, TraceEventType.cs, SourceSwitch.cs:
added missing 2.0 stuff, mostly just stubs.
* TraceSourceTest.cs, SourceSwitchTest.cs : new tests.
* SwitchesTest.cs : added test for GetSupportedAttributes().
svn path=/trunk/mcs/; revision=71238
Diffstat (limited to 'mcs/class/System/System.Diagnostics/TraceListener.cs')
-rw-r--r-- | mcs/class/System/System.Diagnostics/TraceListener.cs | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/TraceListener.cs b/mcs/class/System/System.Diagnostics/TraceListener.cs index d93f7be28fb..0c5d45cdbeb 100644 --- a/mcs/class/System/System.Diagnostics/TraceListener.cs +++ b/mcs/class/System/System.Diagnostics/TraceListener.cs @@ -32,6 +32,7 @@ // using System; +using System.Runtime.InteropServices; using System.Diagnostics; namespace System.Diagnostics { @@ -152,6 +153,53 @@ namespace System.Diagnostics { { WriteLine (category + ": " + message); } + +#if NET_2_0 + [ComVisible (false)] + [MonoTODO] + public virtual void TraceData (TraceEventCache eventCache, string source, + TraceEventType eventType, int id, object data) + { + throw new NotImplementedException (); + } + + [ComVisible (false)] + [MonoTODO] + public virtual void TraceData (TraceEventCache eventCache, string source, + TraceEventType eventType, int id, params object [] data) + { + throw new NotImplementedException (); + } + + [ComVisible (false)] + [MonoTODO] + public virtual void TraceEvent (TraceEventCache eventCache, string source, TraceEventType eventType, int id) + { + throw new NotImplementedException (); + } + + [ComVisible (false)] + [MonoTODO] + public virtual void TraceEvent (TraceEventCache eventCache, string source, TraceEventType eventType, + int id, string message) + { + throw new NotImplementedException (); + } + + [ComVisible (false)] + [MonoTODO] + public virtual void TraceEvent (TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format, params object [] args) + { + throw new NotImplementedException (); + } + + [ComVisible (false)] + [MonoTODO] + public virtual void TraceTransfer (TraceEventCache eventCache, string source, int id, string message, Guid relatedActivityId) + { + throw new NotImplementedException (); + } +#endif } } |