7 references to ActivityStartSuffix
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\ActivityTracker.cs (2)
256
if (activityName.EndsWith(EventSource.
ActivityStartSuffix
, StringComparison.Ordinal))
258
return string.Concat(providerName, activityName.AsSpan()[..^EventSource.
ActivityStartSuffix
.Length]);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (5)
2457
if (eventName.EndsWith(
ActivityStartSuffix
, StringComparison.Ordinal))
3308
if (eventName.EndsWith(
ActivityStartSuffix
, StringComparison.Ordinal))
3310
string taskName = eventName[..^
ActivityStartSuffix
.Length]; // Remove the Start suffix to get the task name
3329
startEventMetadata.Name.EndsWith(
ActivityStartSuffix
, StringComparison.Ordinal) &&
3331
startEventMetadata.Name.AsSpan()[..^
ActivityStartSuffix
.Length].SequenceEqual(