Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RuntimeVariables.cs
Go to the documentation of this file.
1
using
System.Runtime.CompilerServices
;
2
3
namespace
System.Linq.Expressions.Interpreter
;
4
5
internal
sealed
class
RuntimeVariables
:
IRuntimeVariables
6
{
7
private
readonly
IStrongBox
[]
_boxes
;
8
9
int
IRuntimeVariables.Count =>
_boxes
.Length;
10
11
object
IRuntimeVariables
.this[
int
index
]
12
{
13
get
14
{
15
return
_boxes
[
index
].
Value
;
16
}
17
set
18
{
19
_boxes
[
index
].
Value
=
value
;
20
}
21
}
22
23
private
RuntimeVariables
(
IStrongBox
[] boxes)
24
{
25
_boxes
= boxes;
26
}
27
28
internal
static
IRuntimeVariables
Create
(
IStrongBox
[] boxes)
29
{
30
return
new
RuntimeVariables
(boxes);
31
}
32
}
System.Linq.Expressions.Interpreter.RuntimeVariables._boxes
readonly IStrongBox[] _boxes
Definition
RuntimeVariables.cs:7
System.Linq.Expressions.Interpreter.RuntimeVariables.RuntimeVariables
RuntimeVariables(IStrongBox[] boxes)
Definition
RuntimeVariables.cs:23
System.Linq.Expressions.Interpreter.RuntimeVariables.Create
static IRuntimeVariables Create(IStrongBox[] boxes)
Definition
RuntimeVariables.cs:28
System.Linq.Expressions.Interpreter.RuntimeVariables
Definition
RuntimeVariables.cs:6
System.Runtime.CompilerServices.IRuntimeVariables
Definition
IRuntimeVariables.cs:4
System.Runtime.CompilerServices.IStrongBox.Value
object? Value
Definition
IStrongBox.cs:5
System.Runtime.CompilerServices.IStrongBox
Definition
IStrongBox.cs:4
System.Linq.Expressions.Interpreter
Definition
ActionCallInstruction.cs:3
System.Linq.Expressions.ExpressionType.RuntimeVariables
@ RuntimeVariables
System.Linq.ExceptionArgument.index
@ index
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.ExceptionArgument.value
@ value
source
System.Linq.Expressions
System.Linq.Expressions.Interpreter
RuntimeVariables.cs
Generated by
1.10.0