Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
All
IEnumerable
<
AssemblyLoadContext
> System.Runtime.Loader.AssemblyLoadContext.All
static
get
inherited
Definition at line
100
of file
AssemblyLoadContext.cs
.
101
{
102
get
103
{
104
_
=
Default
;
105
Dictionary<long, WeakReference<AssemblyLoadContext>
>
dictionary
=
s_allContexts
;
106
WeakReference<AssemblyLoadContext>
[]
array
;
107
lock
(
dictionary
)
108
{
109
array
=
new
WeakReference<AssemblyLoadContext>
[
dictionary
.Count];
110
int
num = 0;
111
foreach
(
KeyValuePair
<
long
,
WeakReference<AssemblyLoadContext>
>
item
in
dictionary
)
112
{
113
array
[num++] =
item
.Value;
114
}
115
}
116
WeakReference<AssemblyLoadContext>
[]
array2
=
array
;
117
foreach
(
WeakReference<AssemblyLoadContext>
weakReference
in
array2
)
118
{
119
if
(
weakReference
.TryGetTarget(
out
var
target))
120
{
121
yield
return
target;
122
}
123
}
124
}
125
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Collections.Generic.KeyValuePair
Definition
KeyValuePair.cs:31
System.Runtime.Loader.AssemblyLoadContext.s_allContexts
static volatile Dictionary< long, WeakReference< AssemblyLoadContext > > s_allContexts
Definition
AssemblyLoadContext.cs:50
System.Runtime.Loader.AssemblyLoadContext.Default
static AssemblyLoadContext Default
Definition
AssemblyLoadContext.cs:94
System.ExceptionArgument.item
@ item
System.ExceptionArgument.dictionary
@ dictionary
System.ExceptionArgument.array
@ array
System
Runtime
Loader
IndividualAssemblyLoadContext
Generated by
1.10.0