Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
PropertyAccessors.cs
Go to the documentation of this file.
1
using
System.Collections.Immutable
;
2
3
namespace
System.Reflection.Metadata
;
4
5
public
readonly
struct
PropertyAccessors
6
{
7
private
readonly
int
_getterRowId
;
8
9
private
readonly
int
_setterRowId
;
10
11
private
readonly
ImmutableArray<MethodDefinitionHandle>
_others
;
12
13
public
MethodDefinitionHandle
Getter
=>
MethodDefinitionHandle
.
FromRowId
(
_getterRowId
);
14
15
public
MethodDefinitionHandle
Setter
=>
MethodDefinitionHandle
.
FromRowId
(
_setterRowId
);
16
17
public
ImmutableArray<MethodDefinitionHandle>
Others
=>
_others
;
18
19
internal
PropertyAccessors
(
int
getterRowId,
int
setterRowId,
ImmutableArray<MethodDefinitionHandle>
others)
20
{
21
_getterRowId
= getterRowId;
22
_setterRowId
= setterRowId;
23
_others
= others;
24
}
25
}
System.Collections.Immutable.ImmutableArray
Definition
ImmutableArray.cs:223
System.Collections.Immutable
Definition
AllocFreeConcurrentStack.cs:4
System.Reflection.Metadata
Definition
AssemblyExtensions.cs:4
System.Reflection.Metadata.MethodDefinitionHandle.FromRowId
static MethodDefinitionHandle FromRowId(int rowId)
Definition
MethodDefinitionHandle.cs:16
System.Reflection.Metadata.MethodDefinitionHandle
Definition
MethodDefinitionHandle.cs:4
System.Reflection.Metadata.PropertyAccessors._getterRowId
readonly int _getterRowId
Definition
PropertyAccessors.cs:7
System.Reflection.Metadata.PropertyAccessors.Others
ImmutableArray< MethodDefinitionHandle > Others
Definition
PropertyAccessors.cs:17
System.Reflection.Metadata.PropertyAccessors.PropertyAccessors
PropertyAccessors(int getterRowId, int setterRowId, ImmutableArray< MethodDefinitionHandle > others)
Definition
PropertyAccessors.cs:19
System.Reflection.Metadata.PropertyAccessors.Getter
MethodDefinitionHandle Getter
Definition
PropertyAccessors.cs:13
System.Reflection.Metadata.PropertyAccessors._setterRowId
readonly int _setterRowId
Definition
PropertyAccessors.cs:9
System.Reflection.Metadata.PropertyAccessors._others
readonly ImmutableArray< MethodDefinitionHandle > _others
Definition
PropertyAccessors.cs:11
System.Reflection.Metadata.PropertyAccessors.Setter
MethodDefinitionHandle Setter
Definition
PropertyAccessors.cs:15
System.Reflection.Metadata.PropertyAccessors
Definition
PropertyAccessors.cs:6
source
System.Reflection.Metadata
System.Reflection.Metadata
PropertyAccessors.cs
Generated by
1.10.0