Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | TypedConstant |
Package Functions | |
object[] | ToArray () |
void | AddReference (object value, Type type) |
void | EmitConstant (LambdaCompiler lc, object value, Type type) |
void | EmitCacheConstants (LambdaCompiler lc) |
Properties | |
int | Count [get] |
Private Member Functions | |
void | EmitConstantFromArray (LambdaCompiler lc, object value, Type type) |
Static Private Member Functions | |
static bool | ShouldCache (int refCount) |
static void | EmitConstantsArray (LambdaCompiler lc) |
Private Attributes | |
readonly List< object > | _values = new List<object>() |
readonly Dictionary< object, int > | _indexes = new Dictionary<object, int>(ReferenceEqualityComparer.Instance) |
readonly Dictionary< TypedConstant, int > | _references = new Dictionary<TypedConstant, int>() |
readonly Dictionary< TypedConstant, LocalBuilder > | _cache = new Dictionary<TypedConstant, LocalBuilder>() |
Definition at line 9 of file BoundConstants.cs.