Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ImmutableSortedDictionaryBuilderDebuggerProxy.cs
Go to the documentation of this file.
1
using
System.Collections.Generic
;
2
using
System.Diagnostics
;
3
4
namespace
System.Collections.Immutable
;
5
6
internal
sealed
class
ImmutableSortedDictionaryBuilderDebuggerProxy
<TKey, TValue>
where
TKey :
notnull
7
{
8
private
readonly
ImmutableSortedDictionary<TKey, TValue>
.Builder
_map
;
9
10
private
KeyValuePair<TKey, TValue>
[]
_contents
;
11
12
[
DebuggerBrowsable
(
DebuggerBrowsableState
.RootHidden)]
13
public
KeyValuePair<TKey, TValue>
[]
Contents
14
{
15
get
16
{
17
if
(
_contents
==
null
)
18
{
19
_contents
=
_map
.ToArray(
_map
.Count);
20
}
21
return
_contents
;
22
}
23
}
24
25
public
ImmutableSortedDictionaryBuilderDebuggerProxy
(
ImmutableSortedDictionary<TKey, TValue>
.Builder
map
)
26
{
27
Requires
.NotNull(
map
,
"map"
);
28
_map
=
map
;
29
}
30
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Collections.Immutable.ImmutableSortedDictionaryBuilderDebuggerProxy._contents
KeyValuePair< TKey, TValue >[] _contents
Definition
ImmutableSortedDictionaryBuilderDebuggerProxy.cs:10
System.Collections.Immutable.ImmutableSortedDictionaryBuilderDebuggerProxy.ImmutableSortedDictionaryBuilderDebuggerProxy
ImmutableSortedDictionaryBuilderDebuggerProxy(ImmutableSortedDictionary< TKey, TValue >.Builder map)
Definition
ImmutableSortedDictionaryBuilderDebuggerProxy.cs:25
System.Collections.Immutable.ImmutableSortedDictionaryBuilderDebuggerProxy.Contents
KeyValuePair< TKey, TValue >[] Contents
Definition
ImmutableSortedDictionaryBuilderDebuggerProxy.cs:14
System.Collections.Immutable.ImmutableSortedDictionaryBuilderDebuggerProxy._map
readonly ImmutableSortedDictionary< TKey, TValue >.Builder _map
Definition
ImmutableSortedDictionaryBuilderDebuggerProxy.cs:8
System.Collections.Immutable.ImmutableSortedDictionaryBuilderDebuggerProxy
Definition
ImmutableSortedDictionaryBuilderDebuggerProxy.cs:7
System.Collections.Immutable.Requires
Definition
Requires.cs:7
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.Collections.Immutable
Definition
AllocFreeConcurrentStack.cs:4
System.Diagnostics.DebuggerBrowsableState
DebuggerBrowsableState
Definition
DebuggerBrowsableState.cs:4
System.Diagnostics
Definition
AggregationManager.cs:6
source
System.Collections.Immutable
System.Collections.Immutable
ImmutableSortedDictionaryBuilderDebuggerProxy.cs
Generated by
1.10.0