Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EmitAddress() [2/2]

void System.Linq.Expressions.Compiler.LambdaCompiler.EmitAddress ( Expression node,
Type type,
CompilationFlags flags )
inlineprivate

Definition at line 109 of file LambdaCompiler.cs.

110 {
111 bool flag = (flags & CompilationFlags.EmitExpressionStartMask) == CompilationFlags.EmitExpressionStart;
113 switch (node.NodeType)
114 {
115 default:
117 break;
118 case ExpressionType.ArrayIndex:
119 AddressOf((BinaryExpression)node, type);
120 break;
121 case ExpressionType.Parameter:
122 AddressOf((ParameterExpression)node, type);
123 break;
124 case ExpressionType.MemberAccess:
125 AddressOf((MemberExpression)node, type);
126 break;
127 case ExpressionType.Unbox:
128 AddressOf((UnaryExpression)node, type);
129 break;
130 case ExpressionType.Call:
131 AddressOf((MethodCallExpression)node, type);
132 break;
133 case ExpressionType.Index:
134 AddressOf((IndexExpression)node, type);
135 break;
136 }
137 if (flag)
138 {
140 }
141 }
void EmitExpressionAddress(Expression node, Type type)
void AddressOf(BinaryExpression node, Type type)

References System.Linq.Expressions.Compiler.LambdaCompiler.AddressOf(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitExpressionAddress(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitExpressionEnd(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitExpressionStart, and System.type.