Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
StackDebugView.cs
Go to the documentation of this file.
1
using
System.Diagnostics
;
2
3
namespace
System.Collections.Generic
;
4
5
internal
sealed
class
StackDebugView
<T>
6
{
7
private
readonly
Stack<T>
_stack
;
8
9
[
DebuggerBrowsable
(
DebuggerBrowsableState
.RootHidden)]
10
public
T[] Items =>
_stack
.ToArray();
11
12
public
StackDebugView
(
Stack<T>
stack)
13
{
14
if
(stack ==
null
)
15
{
16
throw
new
ArgumentNullException
(
"stack"
);
17
}
18
_stack
= stack;
19
}
20
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Collections.Generic.StackDebugView._stack
readonly Stack< T > _stack
Definition
StackDebugView.cs:7
System.Collections.Generic.StackDebugView.StackDebugView
StackDebugView(Stack< T > stack)
Definition
StackDebugView.cs:12
System.Collections.Generic.StackDebugView
Definition
StackDebugView.cs:6
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.Diagnostics.DebuggerBrowsableState
DebuggerBrowsableState
Definition
DebuggerBrowsableState.cs:4
System.Diagnostics
Definition
AggregationManager.cs:6
source
System.Collections
System.Collections.Generic
StackDebugView.cs
Generated by
1.10.0