Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CustomAttributeType.cs
Go to the documentation of this file.
1
using
System.Runtime.InteropServices
;
2
3
namespace
System.Reflection
;
4
5
[StructLayout(
LayoutKind
.Auto)]
6
internal
readonly
struct
CustomAttributeType
7
{
8
private
readonly
string
m_enumName
;
9
10
private
readonly
CustomAttributeEncoding
m_encodedType
;
11
12
private
readonly
CustomAttributeEncoding
m_encodedEnumType
;
13
14
private
readonly
CustomAttributeEncoding
m_encodedArrayType
;
15
16
private
readonly
CustomAttributeEncoding
m_padding
;
17
18
public
CustomAttributeEncoding
EncodedType
=>
m_encodedType
;
19
20
public
CustomAttributeEncoding
EncodedEnumType
=>
m_encodedEnumType
;
21
22
public
CustomAttributeEncoding
EncodedArrayType
=>
m_encodedArrayType
;
23
24
public
string
EnumName
=>
m_enumName
;
25
26
public
CustomAttributeType
(
CustomAttributeEncoding
encodedType,
CustomAttributeEncoding
encodedArrayType,
CustomAttributeEncoding
encodedEnumType,
string
enumName)
27
{
28
m_encodedType
= encodedType;
29
m_encodedArrayType
= encodedArrayType;
30
m_encodedEnumType
= encodedEnumType;
31
m_enumName
= enumName;
32
m_padding
=
m_encodedType
;
33
}
34
}
System.Reflection.CustomAttributeEncoding
CustomAttributeEncoding
Definition
CustomAttributeEncoding.cs:4
System.Reflection
Definition
ICustomTypeProvider.cs:1
System.Runtime.InteropServices.LayoutKind
LayoutKind
Definition
LayoutKind.cs:4
System.Runtime.InteropServices
Definition
SequenceMarshal.cs:4
System.Reflection.CustomAttributeType.EncodedEnumType
CustomAttributeEncoding EncodedEnumType
Definition
CustomAttributeType.cs:20
System.Reflection.CustomAttributeType.m_encodedEnumType
readonly CustomAttributeEncoding m_encodedEnumType
Definition
CustomAttributeType.cs:12
System.Reflection.CustomAttributeType.m_enumName
readonly string m_enumName
Definition
CustomAttributeType.cs:8
System.Reflection.CustomAttributeType.EnumName
string EnumName
Definition
CustomAttributeType.cs:24
System.Reflection.CustomAttributeType.m_encodedType
readonly CustomAttributeEncoding m_encodedType
Definition
CustomAttributeType.cs:10
System.Reflection.CustomAttributeType.CustomAttributeType
CustomAttributeType(CustomAttributeEncoding encodedType, CustomAttributeEncoding encodedArrayType, CustomAttributeEncoding encodedEnumType, string enumName)
Definition
CustomAttributeType.cs:26
System.Reflection.CustomAttributeType.EncodedType
CustomAttributeEncoding EncodedType
Definition
CustomAttributeType.cs:18
System.Reflection.CustomAttributeType.EncodedArrayType
CustomAttributeEncoding EncodedArrayType
Definition
CustomAttributeType.cs:22
System.Reflection.CustomAttributeType.m_padding
readonly CustomAttributeEncoding m_padding
Definition
CustomAttributeType.cs:16
System.Reflection.CustomAttributeType.m_encodedArrayType
readonly CustomAttributeEncoding m_encodedArrayType
Definition
CustomAttributeType.cs:14
System.Reflection.CustomAttributeType
Definition
CustomAttributeType.cs:7
source
System.Private.CoreLib
System.Reflection
CustomAttributeType.cs
Generated by
1.10.0