Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
MethodImplementation.cs
Go to the documentation of this file.
1
namespace
System.Reflection.Metadata
;
2
3
public
readonly
struct
MethodImplementation
4
{
5
private
readonly
MetadataReader
_reader
;
6
7
private
readonly
int
_rowId
;
8
9
private
MethodImplementationHandle
Handle
=>
MethodImplementationHandle
.
FromRowId
(
_rowId
);
10
11
public
TypeDefinitionHandle
Type
=>
_reader
.
MethodImplTable
.GetClass(
Handle
);
12
13
public
EntityHandle
MethodBody
=>
_reader
.
MethodImplTable
.GetMethodBody(
Handle
);
14
15
public
EntityHandle
MethodDeclaration
=>
_reader
.
MethodImplTable
.GetMethodDeclaration(
Handle
);
16
17
internal
MethodImplementation
(
MetadataReader
reader,
MethodImplementationHandle
handle
)
18
{
19
_reader
= reader;
20
_rowId
=
handle
.RowId;
21
}
22
23
public
CustomAttributeHandleCollection
GetCustomAttributes
()
24
{
25
return
new
CustomAttributeHandleCollection
(
_reader
,
Handle
);
26
}
27
}
System.Reflection.Metadata.MetadataReader.MethodImplTable
MethodImplTableReader MethodImplTable
Definition
MetadataReader.cs:125
System.Reflection.Metadata.MetadataReader
Definition
MetadataReader.cs:12
System.Reflection.MethodBody
Definition
MethodBody.cs:6
System.Type
Definition
Type.cs:14
System.Reflection.Metadata
Definition
AssemblyExtensions.cs:4
System.ExceptionArgument.handle
@ handle
System.Reflection.Metadata.CustomAttributeHandleCollection
Definition
CustomAttributeHandleCollection.cs:7
System.Reflection.Metadata.EntityHandle
Definition
EntityHandle.cs:6
System.Reflection.Metadata.Handle
Definition
Handle.cs:6
System.Reflection.Metadata.MethodImplementationHandle.FromRowId
static MethodImplementationHandle FromRowId(int rowId)
Definition
MethodImplementationHandle.cs:16
System.Reflection.Metadata.MethodImplementationHandle
Definition
MethodImplementationHandle.cs:4
System.Reflection.Metadata.MethodImplementation.GetCustomAttributes
CustomAttributeHandleCollection GetCustomAttributes()
Definition
MethodImplementation.cs:23
System.Reflection.Metadata.MethodImplementation._reader
readonly MetadataReader _reader
Definition
MethodImplementation.cs:5
System.Reflection.Metadata.MethodImplementation.MethodImplementation
MethodImplementation(MetadataReader reader, MethodImplementationHandle handle)
Definition
MethodImplementation.cs:17
System.Reflection.Metadata.MethodImplementation._rowId
readonly int _rowId
Definition
MethodImplementation.cs:7
System.Reflection.Metadata.MethodImplementation.MethodDeclaration
EntityHandle MethodDeclaration
Definition
MethodImplementation.cs:15
System.Reflection.Metadata.MethodImplementation
Definition
MethodImplementation.cs:4
System.Reflection.Metadata.TypeDefinitionHandle
Definition
TypeDefinitionHandle.cs:4
source
System.Reflection.Metadata
System.Reflection.Metadata
MethodImplementation.cs
Generated by
1.10.0