Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RuntimeLabel.cs
Go to the documentation of this file.
1
using
System.Globalization
;
2
using
System.Runtime.CompilerServices
;
3
4
namespace
System.Linq.Expressions.Interpreter
;
5
6
internal
readonly
struct
RuntimeLabel
7
{
8
public
readonly
int
Index
;
9
10
public
readonly
int
StackDepth
;
11
12
public
readonly
int
ContinuationStackDepth
;
13
14
public
RuntimeLabel
(
int
index
,
int
continuationStackDepth,
int
stackDepth)
15
{
16
Index
=
index
;
17
ContinuationStackDepth
= continuationStackDepth;
18
StackDepth
= stackDepth;
19
}
20
21
public
override
string
ToString
()
22
{
23
IFormatProvider
invariantCulture =
CultureInfo
.
InvariantCulture
;
24
DefaultInterpolatedStringHandler
handler =
new
DefaultInterpolatedStringHandler
(10, 3, invariantCulture);
25
handler.
AppendLiteral
(
"->"
);
26
handler.
AppendFormatted
(
Index
);
27
handler.
AppendLiteral
(
" C("
);
28
handler.
AppendFormatted
(
ContinuationStackDepth
);
29
handler.
AppendLiteral
(
") S("
);
30
handler.
AppendFormatted
(
StackDepth
);
31
handler.
AppendLiteral
(
")"
);
32
return
string
.Create(invariantCulture, ref handler);
33
}
34
}
System.Globalization.CultureInfo.InvariantCulture
static CultureInfo InvariantCulture
Definition
CultureInfo.cs:144
System.Globalization.CultureInfo
Definition
CultureInfo.cs:8
System.IFormatProvider
Definition
IFormatProvider.cs:4
System.Globalization
Definition
Calendar.cs:1
System.Linq.Expressions.Interpreter
Definition
ActionCallInstruction.cs:3
System.Linq.ExceptionArgument.index
@ index
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.Index
Definition
Index.cs:7
System.Linq.Expressions.Interpreter.RuntimeLabel.Index
readonly int Index
Definition
RuntimeLabel.cs:8
System.Linq.Expressions.Interpreter.RuntimeLabel.ContinuationStackDepth
readonly int ContinuationStackDepth
Definition
RuntimeLabel.cs:12
System.Linq.Expressions.Interpreter.RuntimeLabel.RuntimeLabel
RuntimeLabel(int index, int continuationStackDepth, int stackDepth)
Definition
RuntimeLabel.cs:14
System.Linq.Expressions.Interpreter.RuntimeLabel.ToString
override string ToString()
Definition
RuntimeLabel.cs:21
System.Linq.Expressions.Interpreter.RuntimeLabel.StackDepth
readonly int StackDepth
Definition
RuntimeLabel.cs:10
System.Linq.Expressions.Interpreter.RuntimeLabel
Definition
RuntimeLabel.cs:7
System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendLiteral
void AppendLiteral(string value)
Definition
DefaultInterpolatedStringHandler.cs:78
System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted
void AppendFormatted(ReadOnlySpan< char > value)
Definition
DefaultInterpolatedStringHandler.cs:210
System.Runtime.CompilerServices.DefaultInterpolatedStringHandler
Definition
DefaultInterpolatedStringHandler.cs:10
source
System.Linq.Expressions
System.Linq.Expressions.Interpreter
RuntimeLabel.cs
Generated by
1.10.0