Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LocalVariableTypeEncoder.cs
Go to the documentation of this file.
1
namespace
System.Reflection.Metadata.Ecma335
;
2
3
public
readonly
struct
LocalVariableTypeEncoder
4
{
5
public
BlobBuilder
Builder
{
get
; }
6
7
public
LocalVariableTypeEncoder
(
BlobBuilder
builder)
8
{
9
Builder
= builder;
10
}
11
12
public
CustomModifiersEncoder
CustomModifiers
()
13
{
14
return
new
CustomModifiersEncoder
(
Builder
);
15
}
16
17
public
SignatureTypeEncoder
Type
(
bool
isByRef =
false
,
bool
isPinned =
false
)
18
{
19
if
(isPinned)
20
{
21
Builder
.
WriteByte
(69);
22
}
23
if
(isByRef)
24
{
25
Builder
.
WriteByte
(16);
26
}
27
return
new
SignatureTypeEncoder
(
Builder
);
28
}
29
30
public
void
TypedReference
()
31
{
32
Builder
.
WriteByte
(22);
33
}
34
}
System.Reflection.Metadata.BlobBuilder.WriteByte
void WriteByte(byte value)
Definition
BlobBuilder.cs:669
System.Reflection.Metadata.BlobBuilder
Definition
BlobBuilder.cs:14
System.Reflection.Metadata.Ecma335
Definition
ArrayShapeEncoder.cs:3
System.Reflection.Metadata.Ecma335.CustomModifiersEncoder
Definition
CustomModifiersEncoder.cs:4
System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder.TypedReference
void TypedReference()
Definition
LocalVariableTypeEncoder.cs:30
System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder.Builder
BlobBuilder Builder
Definition
LocalVariableTypeEncoder.cs:5
System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder.LocalVariableTypeEncoder
LocalVariableTypeEncoder(BlobBuilder builder)
Definition
LocalVariableTypeEncoder.cs:7
System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder.Type
SignatureTypeEncoder Type(bool isByRef=false, bool isPinned=false)
Definition
LocalVariableTypeEncoder.cs:17
System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder.CustomModifiers
CustomModifiersEncoder CustomModifiers()
Definition
LocalVariableTypeEncoder.cs:12
System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder
Definition
LocalVariableTypeEncoder.cs:4
System.Reflection.Metadata.Ecma335.SignatureTypeEncoder
Definition
SignatureTypeEncoder.cs:4
source
System.Reflection.Metadata
System.Reflection.Metadata.Ecma335
LocalVariableTypeEncoder.cs
Generated by
1.10.0