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