Imported Upstream version 4.8.0.309

Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-11-10 13:04:39 +00:00
parent ee1447783b
commit 94b2861243
4912 changed files with 390737 additions and 49310 deletions

View File

@@ -1,8 +1,8 @@
//
// EventSourceException.cs
// EventCounter.cs
//
// Authors:
// Alexander Köplinger <alexander.koeplinger@xamarin.com>
// Marek Safar <marek.safar@gmail.com>
//
// Copyright (C) 2016 Xamarin Inc (http://www.xamarin.com)
//
@@ -26,25 +26,20 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
#if NETSTANDARD
namespace System.Diagnostics.Tracing
{
public class EventSourceException : Exception
public class EventCounter
{
[MonoTODO]
public EventSourceException ()
public EventCounter (string name, EventSource eventSource)
{
}
[MonoTODO]
public EventSourceException (string message)
{
}
[MonoTODO]
public EventSourceException (string message, Exception innerException)
public void WriteMetric (float value)
{
}
}
}
#endif

View File

@@ -256,6 +256,7 @@ namespace System.Diagnostics.Tracing
WriteEvent (eventId, new object[] { arg1, arg2, arg3 } );
}
[CLSCompliant (false)]
protected unsafe void WriteEventCore (int eventId, int eventDataCount, EventData* data)
{
}
@@ -264,6 +265,7 @@ namespace System.Diagnostics.Tracing
{
}
[CLSCompliant (false)]
protected unsafe void WriteEventWithRelatedActivityIdCore (int eventId, Guid* relatedActivityId, int eventDataCount, EventSource.EventData* data)
{
}