2 writes to Name
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (2)
3174
newEventMetadata.
Name
= ""; // Event 0 is the 'write messages string' event, and has an empty name.
3532
metadata.
Name
= eventName;
20 references to Name
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeMetadataGenerator.cs (1)
32
eventMetadata.
Name
,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (19)
797
string eventName = eventMetadata.
Name
;
1388
m_activityTracker.OnStart(m_name, metadata.
Name
, metadata.Descriptor.Task, ref activityId, ref relActivityId, metadata.ActivityOptions);
1392
m_activityTracker.OnStop(m_name, metadata.
Name
, metadata.Descriptor.Task, ref activityId);
1404
ThrowEventSourceException(metadata.
Name
);
1407
ThrowEventSourceException(metadata.
Name
);
1423
WriteMultiMerge(metadata.
Name
, ref opt, metadata.TraceLoggingEventTypes, pActivityId, relatedActivityId, data);
1447
ThrowEventSourceException(metadata.
Name
, ex);
2015
m_activityTracker.OnStart(m_name, metadata.
Name
, metadata.Descriptor.Task, ref activityId, ref relatedActivityId, metadata.ActivityOptions);
2019
m_activityTracker.OnStop(m_name, metadata.
Name
, metadata.Descriptor.Task, ref activityId);
2037
ThrowEventSourceException(metadata.
Name
);
2040
ThrowEventSourceException(metadata.
Name
);
2053
WriteMultiMerge(metadata.
Name
, ref opt, metadata.TraceLoggingEventTypes, pActivityId, childActivityID, args);
2080
ThrowEventSourceException(metadata.
Name
, ex);
2538
var tlet = new TraceLoggingEventTypes(
Name
, Tags, Parameters);
3347
startEventMetadata.
Name
.EndsWith(ActivityStartSuffix, StringComparison.Ordinal) &&
3349
startEventMetadata.
Name
.AsSpan()[..^ActivityStartSuffix.Length].SequenceEqual(
3621
if (eventData[idx].
Name
== null)
3627
evtName, evtId, eventData[idx].
Name
, idx));
4786
get => _moreInfo?.EventName ?? (EventId <= 0 ? null : Metadata.
Name
);