8 references to s_ActivityStartSuffix
mscorlib (8)
system\diagnostics\eventing\activitytracker.cs (2)
269
if (activityName.EndsWith(EventSource.
s_ActivityStartSuffix
))
270
activityName = activityName.Substring(0, activityName.Length - EventSource.
s_ActivityStartSuffix
.Length);
system\diagnostics\eventing\eventsource.cs (6)
2486
if (eventName.EndsWith(
s_ActivityStartSuffix
))
3446
string taskName = eventName.Substring(0, eventName.Length -
s_ActivityStartSuffix
.Length); // Remove the Stop suffix to get the task name
3448
string.Compare(eventName, taskName.Length,
s_ActivityStartSuffix
, 0, Math.Max(eventName.Length - taskName.Length,
s_ActivityStartSuffix
.Length)) == 0)
3469
string.Compare(startEventMetadata.Name, taskName.Length,
s_ActivityStartSuffix
, 0, Math.Max(startEventMetadata.Name.Length - taskName.Length,
s_ActivityStartSuffix
.Length)) == 0)