Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
DefinedTypes
override
IEnumerable
<
TypeInfo
> System.Reflection.RuntimeAssembly.DefinedTypes
get
inherited
Definition at line
89
of file
RuntimeAssembly.cs
.
90
{
91
[
RequiresUnreferencedCode
(
"Types might be removed"
)]
92
get
93
{
94
RuntimeModule[]
modulesInternal
=
GetModulesInternal
(
loadIfNotFound
:
true
,
getResourceModules
:
false
);
95
if
(
modulesInternal
.Length == 1)
96
{
97
return
modulesInternal
[0].GetDefinedTypes();
98
}
99
List<RuntimeType>
list
=
new
List<RuntimeType>
();
100
for
(
int
i = 0;
i
<
modulesInternal
.Length;
i
++)
101
{
102
list
.AddRange(
modulesInternal
[i].GetDefinedTypes());
103
}
104
return
list
.ToArray();
105
}
106
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Reflection.RuntimeAssembly.GetModulesInternal
RuntimeModule[] GetModulesInternal(bool loadIfNotFound, bool getResourceModules)
Definition
RuntimeAssembly.cs:523
System.Runtime.Serialization.CollectionKind.Dictionary
@ Dictionary
System.Text.RegularExpressions.ExceptionArgument.i
@ i
System.ExceptionArgument.list
@ list
System
Reflection
Emit
InternalAssemblyBuilder
Generated by
1.10.0