Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ImmutableDictionaryBuilderDebuggerProxy.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
ImmutableDictionaryBuilderDebuggerProxy
<TKey, TValue>
where
TKey :
notnull
7
{
8
private
readonly
ImmutableDictionary<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
ImmutableDictionaryBuilderDebuggerProxy
(
ImmutableDictionary<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.ImmutableDictionaryBuilderDebuggerProxy._contents
KeyValuePair< TKey, TValue >[] _contents
Definition
ImmutableDictionaryBuilderDebuggerProxy.cs:10
System.Collections.Immutable.ImmutableDictionaryBuilderDebuggerProxy.Contents
KeyValuePair< TKey, TValue >[] Contents
Definition
ImmutableDictionaryBuilderDebuggerProxy.cs:14
System.Collections.Immutable.ImmutableDictionaryBuilderDebuggerProxy.ImmutableDictionaryBuilderDebuggerProxy
ImmutableDictionaryBuilderDebuggerProxy(ImmutableDictionary< TKey, TValue >.Builder map)
Definition
ImmutableDictionaryBuilderDebuggerProxy.cs:25
System.Collections.Immutable.ImmutableDictionaryBuilderDebuggerProxy._map
readonly ImmutableDictionary< TKey, TValue >.Builder _map
Definition
ImmutableDictionaryBuilderDebuggerProxy.cs:8
System.Collections.Immutable.ImmutableDictionaryBuilderDebuggerProxy
Definition
ImmutableDictionaryBuilderDebuggerProxy.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
ImmutableDictionaryBuilderDebuggerProxy.cs
Generated by
1.10.0