Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LocalAccessInstruction.cs
Go to the documentation of this file.
1
using
System.Collections.Generic
;
2
3
namespace
System.Linq.Expressions.Interpreter
;
4
5
internal
abstract
class
LocalAccessInstruction
:
Instruction
6
{
7
internal
readonly
int
_index
;
8
9
protected
LocalAccessInstruction
(
int
index
)
10
{
11
_index
=
index
;
12
}
13
14
public
override
string
ToDebugString
(
int
instructionIndex
,
object
cookie
,
Func<int, int>
labelIndexer
,
IReadOnlyList<object>
objects
)
15
{
16
if
(
cookie
!=
null
)
17
{
18
return
InstructionName
+
"("
+
cookie
?.ToString() +
": "
+
_index
+
")"
;
19
}
20
return
InstructionName
+
"("
+
_index
+
")"
;
21
}
22
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Linq.Expressions.Interpreter.Instruction.InstructionName
string InstructionName
Definition
Instruction.cs:19
System.Linq.Expressions.Interpreter.Instruction
Definition
Instruction.cs:6
System.Linq.Expressions.Interpreter.LocalAccessInstruction._index
readonly int _index
Definition
LocalAccessInstruction.cs:7
System.Linq.Expressions.Interpreter.LocalAccessInstruction.LocalAccessInstruction
LocalAccessInstruction(int index)
Definition
LocalAccessInstruction.cs:9
System.Linq.Expressions.Interpreter.LocalAccessInstruction.ToDebugString
override string ToDebugString(int instructionIndex, object cookie, Func< int, int > labelIndexer, IReadOnlyList< object > objects)
Definition
LocalAccessInstruction.cs:14
System.Linq.Expressions.Interpreter.LocalAccessInstruction
Definition
LocalAccessInstruction.cs:6
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.Linq.Expressions.Interpreter
Definition
ActionCallInstruction.cs:3
System.Linq.ExceptionArgument.index
@ index
source
System.Linq.Expressions
System.Linq.Expressions.Interpreter
LocalAccessInstruction.cs
Generated by
1.10.0