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

◆ EnterScope()

void System.Linq.Expressions.Compiler.LambdaCompiler.EnterScope ( object node)
inlineprivate

Definition at line 2905 of file LambdaCompiler.cs.

2906 {
2908 {
2910 {
2911 value = new CompilerScope(node, isMethod: false)
2912 {
2913 NeedsClosure = _scope.NeedsClosure
2914 };
2915 }
2916 _scope = value.Enter(this, _scope);
2917 }
2918 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
readonly Dictionary< object, CompilerScope > Scopes
CompilerScope Enter(LambdaCompiler lc, CompilerScope parent)

References System.Linq.Expressions.Compiler.LambdaCompiler._scope, System.Linq.Expressions.Compiler.LambdaCompiler._tree, System.Collections.Generic.Dictionary< TKey, TValue >.Contains(), System.Linq.Expressions.Compiler.CompilerScope.Enter(), System.Linq.Expressions.Compiler.LambdaCompiler.HasVariables(), System.Linq.Expressions.Compiler.CompilerScope.MergedScopes, System.Linq.Expressions.Compiler.AnalyzedTree.Scopes, System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.

Referenced by System.Linq.Expressions.Compiler.LambdaCompiler.Emit(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitBranchBlock(), and System.Linq.Expressions.Compiler.LambdaCompiler.EmitTryExpression().