1 type derived from EventProvider
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
2483
internal sealed class OverrideEventProvider :
EventProvider
26 references to EventProvider
System.Private.CoreLib (26)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipe.Internal.cs (1)
48
internal static unsafe partial void WriteEventData(IntPtr eventHandle,
EventProvider
.EventData* pEventData, uint dataCount, Guid* activityId, Guid* relatedActivityId);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventProvider.cs (9)
11
private readonly WeakReference<
EventProvider
> _eventProvider;
15
internal EventPipeEventProvider(
EventProvider
eventProvider)
17
_eventProvider = new WeakReference<
EventProvider
>(eventProvider);
21
EventProvider
target,
66
if (_this._eventProvider.TryGetTarget(out
EventProvider
? target))
102
internal override unsafe
EventProvider
.WriteEventErrorCode EventWriteTransfer(
108
EventProvider
.EventData* userData)
115
return
EventProvider
.WriteEventErrorCode.NoError;
130
return
EventProvider
.WriteEventErrorCode.NoError;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventProvider.cs (5)
1164
EventProvider
target,
1243
internal virtual unsafe
EventProvider
.WriteEventErrorCode EventWriteTransfer(
1249
EventProvider
.EventData* userData)
1251
return
EventProvider
.WriteEventErrorCode.NoError;
1267
EventProvider
target,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (10)
2268
EventProvider
.EventData data = default;
2427
switch (
EventProvider
.GetLastWriteEventError())
2429
case
EventProvider
.WriteEventErrorCode.EventTooBig:
2433
case
EventProvider
.WriteEventErrorCode.NoFreeBuffers:
2437
case
EventProvider
.WriteEventErrorCode.NullInput:
2441
case
EventProvider
.WriteEventErrorCode.TooManyArgs:
2947
EventProvider
.EventData* dataDescrs = stackalloc
EventProvider
.EventData[2];
2969
if (
EventProvider
.GetLastWriteEventError() ==
EventProvider
.WriteEventErrorCode.EventTooBig)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\NameInfo.cs (1)
74
public IntPtr GetOrCreateEventHandle(
EventProvider
provider, TraceLoggingEventHandleTable eventHandleTable, EventDescriptor descriptor, TraceLoggingEventTypes eventTypes)