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

◆ this[string key]

object System.Diagnostics.Tracing.EventPayload.this[string key]
getset

Definition at line 17 of file EventPayload.cs.

18 {
19 get
20 {
21 if (key == null)
22 {
23 throw new ArgumentNullException("key");
24 }
25 int num = 0;
26 string[] names = m_names;
27 foreach (string text in names)
28 {
29 if (text == key)
30 {
31 return m_values[num];
32 }
33 num++;
34 }
35 throw new KeyNotFoundException(SR.Format(SR.Arg_KeyNotFoundWithKey, key));
36 }
37 set
38 {
39 throw new NotSupportedException();
40 }
41 }