Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LocalConstant.cs
Go to the documentation of this file.
1
namespace
System.Reflection.Metadata
;
2
3
public
readonly
struct
LocalConstant
4
{
5
private
readonly
MetadataReader
_reader
;
6
7
private
readonly
int
_rowId
;
8
9
private
LocalConstantHandle
Handle
=>
LocalConstantHandle
.
FromRowId
(
_rowId
);
10
11
public
StringHandle
Name
=>
_reader
.
LocalConstantTable
.GetName(
Handle
);
12
13
public
BlobHandle
Signature
=>
_reader
.
LocalConstantTable
.GetSignature(
Handle
);
14
15
internal
LocalConstant
(
MetadataReader
reader,
LocalConstantHandle
handle
)
16
{
17
_reader
= reader;
18
_rowId
=
handle
.RowId;
19
}
20
}
System.Reflection.Metadata.MetadataReader.LocalConstantTable
LocalConstantTableReader LocalConstantTable
Definition
MetadataReader.cs:173
System.Reflection.Metadata.MetadataReader
Definition
MetadataReader.cs:12
System.Signature
Definition
Signature.cs:8
System.Reflection.Metadata
Definition
AssemblyExtensions.cs:4
System.ExceptionArgument.handle
@ handle
System.Reflection.Metadata.BlobHandle
Definition
BlobHandle.cs:6
System.Reflection.Metadata.Handle
Definition
Handle.cs:6
System.Reflection.Metadata.LocalConstantHandle.FromRowId
static LocalConstantHandle FromRowId(int rowId)
Definition
LocalConstantHandle.cs:18
System.Reflection.Metadata.LocalConstantHandle
Definition
LocalConstantHandle.cs:6
System.Reflection.Metadata.LocalConstant.LocalConstant
LocalConstant(MetadataReader reader, LocalConstantHandle handle)
Definition
LocalConstant.cs:15
System.Reflection.Metadata.LocalConstant._rowId
readonly int _rowId
Definition
LocalConstant.cs:7
System.Reflection.Metadata.LocalConstant.Name
StringHandle Name
Definition
LocalConstant.cs:11
System.Reflection.Metadata.LocalConstant._reader
readonly MetadataReader _reader
Definition
LocalConstant.cs:5
System.Reflection.Metadata.LocalConstant
Definition
LocalConstant.cs:4
System.Reflection.Metadata.StringHandle
Definition
StringHandle.cs:6
source
System.Reflection.Metadata
System.Reflection.Metadata
LocalConstant.cs
Generated by
1.10.0