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 }