Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
this[string key]
object System.Diagnostics.Tracing.EventPayload.this[
string
key
]
get
set
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
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Collections.Generic.KeyNotFoundException
Definition
KeyNotFoundException.cs:9
System.Diagnostics.Tracing.EventPayload.m_values
readonly object[] m_values
Definition
EventPayload.cs:11
System.Diagnostics.Tracing.EventPayload.m_names
readonly string[] m_names
Definition
EventPayload.cs:9
System.ExceptionArgument.text
@ text
System.ExceptionArgument.key
@ key
System
Diagnostics
Tracing
EventPayload
Generated by
1.10.0