Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
EventAccessors.cs
Go to the documentation of this file.
1
using
System.Collections.Immutable
;
2
3
namespace
System.Reflection.Metadata
;
4
5
public
readonly
struct
EventAccessors
6
{
7
private
readonly
int
_adderRowId
;
8
9
private
readonly
int
_removerRowId
;
10
11
private
readonly
int
_raiserRowId
;
12
13
private
readonly
ImmutableArray<MethodDefinitionHandle>
_others
;
14
15
public
MethodDefinitionHandle
Adder
=>
MethodDefinitionHandle
.
FromRowId
(
_adderRowId
);
16
17
public
MethodDefinitionHandle
Remover
=>
MethodDefinitionHandle
.
FromRowId
(
_removerRowId
);
18
19
public
MethodDefinitionHandle
Raiser
=>
MethodDefinitionHandle
.
FromRowId
(
_raiserRowId
);
20
21
public
ImmutableArray<MethodDefinitionHandle>
Others
=>
_others
;
22
23
internal
EventAccessors
(
int
adderRowId,
int
removerRowId,
int
raiserRowId,
ImmutableArray<MethodDefinitionHandle>
others)
24
{
25
_adderRowId
= adderRowId;
26
_removerRowId
= removerRowId;
27
_raiserRowId
= raiserRowId;
28
_others
= others;
29
}
30
}
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.EventAccessors.Raiser
MethodDefinitionHandle Raiser
Definition
EventAccessors.cs:19
System.Reflection.Metadata.EventAccessors._raiserRowId
readonly int _raiserRowId
Definition
EventAccessors.cs:11
System.Reflection.Metadata.EventAccessors._others
readonly ImmutableArray< MethodDefinitionHandle > _others
Definition
EventAccessors.cs:13
System.Reflection.Metadata.EventAccessors.EventAccessors
EventAccessors(int adderRowId, int removerRowId, int raiserRowId, ImmutableArray< MethodDefinitionHandle > others)
Definition
EventAccessors.cs:23
System.Reflection.Metadata.EventAccessors._adderRowId
readonly int _adderRowId
Definition
EventAccessors.cs:7
System.Reflection.Metadata.EventAccessors.Remover
MethodDefinitionHandle Remover
Definition
EventAccessors.cs:17
System.Reflection.Metadata.EventAccessors.Adder
MethodDefinitionHandle Adder
Definition
EventAccessors.cs:15
System.Reflection.Metadata.EventAccessors.Others
ImmutableArray< MethodDefinitionHandle > Others
Definition
EventAccessors.cs:21
System.Reflection.Metadata.EventAccessors._removerRowId
readonly int _removerRowId
Definition
EventAccessors.cs:9
System.Reflection.Metadata.EventAccessors
Definition
EventAccessors.cs:6
System.Reflection.Metadata.MethodDefinitionHandle.FromRowId
static MethodDefinitionHandle FromRowId(int rowId)
Definition
MethodDefinitionHandle.cs:16
System.Reflection.Metadata.MethodDefinitionHandle
Definition
MethodDefinitionHandle.cs:4
source
System.Reflection.Metadata
System.Reflection.Metadata
EventAccessors.cs
Generated by
1.10.0