Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IDictionaryDebugView.cs
Go to the documentation of this file.
1
using
System.Collections.Generic
;
2
using
System.Diagnostics
;
3
4
namespace
System.Collections.Concurrent
;
5
6
internal
sealed
class
IDictionaryDebugView
<TKey, TValue>
7
{
8
private
readonly
IDictionary<TKey, TValue>
_dictionary
;
9
10
[
DebuggerBrowsable
(
DebuggerBrowsableState
.RootHidden)]
11
public
KeyValuePair<TKey, TValue>
[] Items
12
{
13
get
14
{
15
KeyValuePair<TKey, TValue>
[]
array
=
new
KeyValuePair<TKey, TValue>
[
_dictionary
.Count];
16
_dictionary
.CopyTo(
array
, 0);
17
return
array
;
18
}
19
}
20
21
public
IDictionaryDebugView
(
IDictionary<TKey, TValue>
dictionary
)
22
{
23
if
(
dictionary
==
null
)
24
{
25
System
.
ThrowHelper
.
ThrowArgumentNullException
(
"dictionary"
);
26
}
27
_dictionary
=
dictionary
;
28
}
29
}
System.Collections.Concurrent.IDictionaryDebugView._dictionary
readonly IDictionary< TKey, TValue > _dictionary
Definition
IDictionaryDebugView.cs:8
System.Collections.Concurrent.IDictionaryDebugView.IDictionaryDebugView
IDictionaryDebugView(IDictionary< TKey, TValue > dictionary)
Definition
IDictionaryDebugView.cs:21
System.Collections.Concurrent.IDictionaryDebugView
Definition
IDictionaryDebugView.cs:7
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.ThrowHelper.ThrowArgumentNullException
static void ThrowArgumentNullException(string name)
Definition
ThrowHelper.cs:14
System.ThrowHelper
Definition
ThrowHelper.cs:6
System.Collections.Concurrent
Definition
BlockingCollection.cs:8
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
System
Definition
BlockingCollection.cs:8
source
System.Collections.Concurrent
System.Collections.Concurrent
IDictionaryDebugView.cs
Generated by
1.10.0