Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RemoveFirstArgIfRelatedActivityId()

static bool System.Diagnostics.Tracing.EventSource.RemoveFirstArgIfRelatedActivityId ( ref ParameterInfo[] args)
inlinestaticprivateinherited

Definition at line 2414 of file EventSource.cs.

2415 {
2416 if (args.Length != 0 && args[0].ParameterType == typeof(Guid) && string.Equals(args[0].Name, "relatedActivityId", StringComparison.OrdinalIgnoreCase))
2417 {
2418 ParameterInfo[] array = new ParameterInfo[args.Length - 1];
2419 Array.Copy(args, 1, array, 0, args.Length - 1);
2420 args = array;
2421 return true;
2422 }
2423 return false;
2424 }

References System.array, System.Array.Copy(), and System.Diagnostics.Tracing.EventSource.Name.

Referenced by System.Diagnostics.Tracing.EventSource.CreateManifestAndDescriptors().