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