26 references to EventMetadata
System.Private.CoreLib (26)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeMetadataGenerator.cs (2)
4
using EventMetadata = System.Diagnostics.Tracing.EventSource.
EventMetadata
;
20
public byte[]? GenerateEventMetadata(
EventMetadata
eventMetadata)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipePayloadDecoder.cs (1)
15
internal static object[] DecodePayload(ref EventSource.
EventMetadata
metadata, ReadOnlySpan<byte> payload)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (22)
230
internal volatile Dictionary<int,
EventMetadata
>? m_eventData; // None per-event data
789
ref
EventMetadata
eventMetadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, metaKey);
1376
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId);
1446
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId);
1984
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId);
2079
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId);
2093
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId);
2113
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId);
2143
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventCallbackArgs.EventId);
2371
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventNum);
2778
ref
EventMetadata
eventMeta = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventID);
2832
ref
EventMetadata
eventMeta = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId);
2865
foreach (
EventMetadata
eventMeta in m_eventData.Values)
3168
Dictionary<int,
EventMetadata
>? eventData = null;
3172
eventData = new Dictionary<int,
EventMetadata
>();
3173
ref
EventMetadata
newEventMetadata = ref CollectionsMarshal.GetValueRefOrAddDefault(eventData, 0, out _);
3341
ref
EventMetadata
startEventMetadata = ref CollectionsMarshal.GetValueRefOrNullRef(eventData, startEventId);
3515
[NotNull] ref Dictionary<int,
EventMetadata
> eventData,
3521
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrAddDefault(eventData, eventAttribute.EventId, out _);
3599
Dictionary<int,
EventMetadata
> eventData, MethodInfo method, EventAttribute eventAttribute,
3610
if (eventData.TryGetValue(evtId, out
EventMetadata
metadata) && metadata.Descriptor.EventId != 0)
4779
private ref EventSource.
EventMetadata
Metadata => ref CollectionsMarshal.GetValueRefOrNullRef(EventSource.m_eventData!, EventId);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
61
ref
EventMetadata
metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData!, (int)eventID);