Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
AssemblyRefProcessorTableReader.cs
Go to the documentation of this file.
1
using
System.Reflection.Internal
;
2
3
namespace
System.Reflection.Metadata.Ecma335
;
4
5
internal
readonly
struct
AssemblyRefProcessorTableReader
6
{
7
internal
readonly
int
NumberOfRows
;
8
9
private
readonly
bool
_IsAssemblyRefTableRowSizeSmall
;
10
11
private
readonly
int
_ProcessorOffset
;
12
13
private
readonly
int
_AssemblyRefOffset
;
14
15
internal
readonly
int
RowSize
;
16
17
internal
readonly
MemoryBlock
Block
;
18
19
internal
AssemblyRefProcessorTableReader
(
int
numberOfRows,
int
assemblyRefTableRowRefSize,
MemoryBlock
containingBlock,
int
containingBlockOffset)
20
{
21
NumberOfRows
= numberOfRows;
22
_IsAssemblyRefTableRowSizeSmall
= assemblyRefTableRowRefSize == 2;
23
_ProcessorOffset
= 0;
24
_AssemblyRefOffset
=
_ProcessorOffset
+ 4;
25
RowSize
=
_AssemblyRefOffset
+ assemblyRefTableRowRefSize;
26
Block
= containingBlock.
GetMemoryBlockAt
(containingBlockOffset,
RowSize
* numberOfRows);
27
}
28
}
System.Reflection.Internal
Definition
AbstractMemoryBlock.cs:4
System.Reflection.Metadata.Ecma335
Definition
ArrayShapeEncoder.cs:3
System.Reflection.Internal.MemoryBlock.GetMemoryBlockAt
unsafe MemoryBlock GetMemoryBlockAt(int offset, int length)
Definition
MemoryBlock.cs:102
System.Reflection.Internal.MemoryBlock
Definition
MemoryBlock.cs:11
System.Reflection.Metadata.Ecma335.AssemblyRefProcessorTableReader.NumberOfRows
readonly int NumberOfRows
Definition
AssemblyRefProcessorTableReader.cs:7
System.Reflection.Metadata.Ecma335.AssemblyRefProcessorTableReader._IsAssemblyRefTableRowSizeSmall
readonly bool _IsAssemblyRefTableRowSizeSmall
Definition
AssemblyRefProcessorTableReader.cs:9
System.Reflection.Metadata.Ecma335.AssemblyRefProcessorTableReader.Block
readonly MemoryBlock Block
Definition
AssemblyRefProcessorTableReader.cs:17
System.Reflection.Metadata.Ecma335.AssemblyRefProcessorTableReader._AssemblyRefOffset
readonly int _AssemblyRefOffset
Definition
AssemblyRefProcessorTableReader.cs:13
System.Reflection.Metadata.Ecma335.AssemblyRefProcessorTableReader.AssemblyRefProcessorTableReader
AssemblyRefProcessorTableReader(int numberOfRows, int assemblyRefTableRowRefSize, MemoryBlock containingBlock, int containingBlockOffset)
Definition
AssemblyRefProcessorTableReader.cs:19
System.Reflection.Metadata.Ecma335.AssemblyRefProcessorTableReader._ProcessorOffset
readonly int _ProcessorOffset
Definition
AssemblyRefProcessorTableReader.cs:11
System.Reflection.Metadata.Ecma335.AssemblyRefProcessorTableReader.RowSize
readonly int RowSize
Definition
AssemblyRefProcessorTableReader.cs:15
System.Reflection.Metadata.Ecma335.AssemblyRefProcessorTableReader
Definition
AssemblyRefProcessorTableReader.cs:6
source
System.Reflection.Metadata
System.Reflection.Metadata.Ecma335
AssemblyRefProcessorTableReader.cs
Generated by
1.10.0