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