1 write to Parent
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
83Parent = parent;
16 references to Parent
Microsoft.CodeAnalysis.CSharp (16)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (9)
159curScope = curScope.Parent; 164curScope = curScope?.Parent; 183curScope = curScope.Parent; 398currentScope = currentScope.Parent; 450while (currentScope.Parent != null) 455var parentScope = currentScope.Parent; 580currentScope = currentScope.Parent; 592return correspondingScope.Parent; 641currentScope = currentScope.Parent;
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (7)
27/// method being analyzed and has a null <see cref="Parent" />. 263/// before the start of the scope, but after the start of <see cref="Scope.Parent"/>. 629scope = scope.Parent; 735/// or is the <see cref="Scope.Parent"/> of <see cref="_currentScope"/>. 747Debug.Assert(scope == _currentScope.Parent, $"{nameof(scope)} must be {nameof(_currentScope)} or {nameof(_currentScope)}.{nameof(_currentScope.Parent)}"); 763_currentScope = _currentScope.Parent;