Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
this[Type type]
object? System.ComponentModel.Design.Serialization.ContextStack.this[
Type
type
]
get
Definition at line
37
of file
ContextStack.cs
.
38
{
39
get
40
{
41
if
(
type
==
null
)
42
{
43
throw
new
ArgumentNullException(
"type"
);
44
}
45
if
(
_contextStack
!=
null
)
46
{
47
int
num =
_contextStack
.
Count
;
48
while
(num > 0)
49
{
50
object
obj
=
_contextStack
[--num];
51
if
(
type
.IsInstanceOfType(
obj
))
52
{
53
return
obj
;
54
}
55
}
56
}
57
return
null
;
58
}
59
}
System.Collections.ArrayList.Count
virtual int Count
Definition
ArrayList.cs:2225
System.ComponentModel.Design.Serialization.ContextStack._contextStack
ArrayList _contextStack
Definition
ContextStack.cs:7
System.ExceptionArgument.type
@ type
System.ExceptionArgument.obj
@ obj
System
ComponentModel
Design
Serialization
ContextStack
Generated by
1.10.0