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

◆ Compile()

static LabelInstruction[] System.Diagnostics.Metrics.LabelInstructionCompiler.Compile ( ReadOnlySpan< KeyValuePair< string, object > > labels)
inlinestaticprivate

Definition at line 65 of file LabelInstructionCompiler.cs.

66 {
67 LabelInstruction[] array = new LabelInstruction[labels.Length];
68 for (int i = 0; i < labels.Length; i++)
69 {
70 array[i] = new LabelInstruction(i, labels[i].Key);
71 }
72 return array;
73 }

References System.array.

Referenced by System.Diagnostics.Metrics.LabelInstructionCompiler.Create< TAggregator >().