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

◆ Exit()

CompilerScope System.Linq.Expressions.Compiler.CompilerScope.Exit ( )
inlinepackage

Definition at line 275 of file CompilerScope.cs.

276 {
277 if (!IsMethod)
278 {
279 foreach (Storage value in _locals.Values)
280 {
281 value.FreeLocal();
282 }
283 }
284 CompilerScope parent = _parent;
285 _parent = null;
286 _hoistedLocals = null;
288 _locals.Clear();
289 return parent;
290 }
readonly Dictionary< ParameterExpression, Storage > _locals

References System.Linq.Expressions.Compiler.CompilerScope._closureHoistedLocals, System.Linq.Expressions.Compiler.CompilerScope._hoistedLocals, System.Linq.Expressions.Compiler.CompilerScope._locals, System.Linq.Expressions.Compiler.CompilerScope._parent, System.Collections.Generic.Dictionary< TKey, TValue >.Clear(), System.Linq.Expressions.Compiler.CompilerScope.IsMethod, System.value, and System.Collections.Generic.Dictionary< TKey, TValue >.Values.

Referenced by System.Linq.Expressions.Compiler.LambdaCompiler.EmitLambdaBody(), and System.Linq.Expressions.Compiler.LambdaCompiler.ExitScope().