Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TypeLayout.cs
Go to the documentation of this file.
1
namespace
System.Reflection.Metadata
;
2
3
public
readonly
struct
TypeLayout
4
{
5
private
readonly
int
_size
;
6
7
private
readonly
int
_packingSize
;
8
9
public
int
Size
=>
_size
;
10
11
public
int
PackingSize
=>
_packingSize
;
12
13
public
bool
IsDefault
14
{
15
get
16
{
17
if
(
_size
== 0)
18
{
19
return
_packingSize
== 0;
20
}
21
return
false
;
22
}
23
}
24
25
public
TypeLayout
(
int
size,
int
packingSize)
26
{
27
_size
= size;
28
_packingSize
= packingSize;
29
}
30
}
System.Reflection.Metadata
Definition
AssemblyExtensions.cs:4
System.Reflection.Metadata.TypeLayout.PackingSize
int PackingSize
Definition
TypeLayout.cs:11
System.Reflection.Metadata.TypeLayout.TypeLayout
TypeLayout(int size, int packingSize)
Definition
TypeLayout.cs:25
System.Reflection.Metadata.TypeLayout.Size
int Size
Definition
TypeLayout.cs:9
System.Reflection.Metadata.TypeLayout._size
readonly int _size
Definition
TypeLayout.cs:5
System.Reflection.Metadata.TypeLayout.IsDefault
bool IsDefault
Definition
TypeLayout.cs:14
System.Reflection.Metadata.TypeLayout._packingSize
readonly int _packingSize
Definition
TypeLayout.cs:7
System.Reflection.Metadata.TypeLayout
Definition
TypeLayout.cs:4
source
System.Reflection.Metadata
System.Reflection.Metadata
TypeLayout.cs
Generated by
1.10.0