Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DictionaryDebugView.cs
Go to the documentation of this file.
1
using
System.Diagnostics
;
2
3
namespace
System.Collections.Generic
;
4
5
internal
sealed
class
DictionaryDebugView
<K, V>
6
{
7
private
readonly
IDictionary<K, V>
_dict
;
8
9
[
DebuggerBrowsable
(
DebuggerBrowsableState
.RootHidden)]
10
public
KeyValuePair<K, V>
[] Items
11
{
12
get
13
{
14
KeyValuePair<K, V>
[]
array
=
new
KeyValuePair<K, V>
[
_dict
.Count];
15
_dict
.CopyTo(
array
, 0);
16
return
array
;
17
}
18
}
19
20
public
DictionaryDebugView
(
IDictionary<K, V>
dictionary
)
21
{
22
_dict
=
dictionary
??
throw
new
ArgumentNullException
(
"dictionary"
);
23
}
24
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Collections.Generic.DictionaryDebugView.DictionaryDebugView
DictionaryDebugView(IDictionary< K, V > dictionary)
Definition
DictionaryDebugView.cs:20
System.Collections.Generic.DictionaryDebugView._dict
readonly IDictionary< K, V > _dict
Definition
DictionaryDebugView.cs:7
System.Collections.Generic.DictionaryDebugView
Definition
DictionaryDebugView.cs:6
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.Diagnostics.DebuggerBrowsableState
DebuggerBrowsableState
Definition
DebuggerBrowsableState.cs:4
System.Diagnostics
Definition
AggregationManager.cs:6
System.ExceptionArgument.dictionary
@ dictionary
System.ExceptionArgument.array
@ array
source
System.ObjectModel
System.Collections.Generic
DictionaryDebugView.cs
Generated by
1.10.0