2 writes to parent
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\ParentSymbol.cs (1)
52
sym.
parent
= this;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (1)
30
child.
parent
= parent;
26 references to parent
Microsoft.CSharp (26)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
122
ErrAppendParentCore(sym.
parent
, pctx);
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
948
Debug.Assert(swt.GetType() != null && swt.GetType().OwningAggregate == swt.Sym.
parent
as AggregateSymbol);
999
AggregateSymbol aggCalled = swt.Sym.
parent
as AggregateSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
647
Debug.Assert(method.
parent
is AggregateSymbol);
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (4)
36
Debug.Assert(atsCheck == null || symCheck.
parent
== atsCheck.OwningAggregate);
120
Debug.Assert(atsCheck == null || symCheck.
parent
== atsCheck.OwningAggregate);
176
for (Symbol symT = symWhere; symT != null; symT = symT.
parent
)
193
AggregateSymbol aggCheck = symCheck.
parent
as AggregateSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\AggregateSymbol.cs (3)
107
public NamespaceOrAggregateSymbol Parent =>
parent
as NamespaceOrAggregateSymbol;
109
public bool isNested() =>
parent
is AggregateSymbol;
111
public AggregateSymbol GetOuterAgg() =>
parent
as AggregateSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\FieldSymbol.cs (1)
37
public AggregateSymbol getClass() =>
parent
as AggregateSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\MethodOrPropertySymbol.cs (1)
179
public AggregateSymbol getClass() =>
parent
as AggregateSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\ParentSymbol.cs (2)
27
Debug.Assert(sym.
parent
== null || sym.
parent
== this);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\Symbol.cs (2)
162
return ((AggregateSymbol)
parent
).AssociatedAssembly;
186
return ((AggregateSymbol)
parent
).InternalsVisibleTo(assembly);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (4)
29
Debug.Assert(child.
parent
== null || child.
parent
== parent);
46
if (s_dictionary.TryGetValue(new Key(child.name, child.
parent
), out Symbol sym))
59
s_dictionary.Add(new Key(child.name, child.
parent
), child);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (2)
293
if (pctx.DenormMeth && tvs.
parent
!= null)
431
if (pctx.DenormMeth && tvs.
parent
!= null)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeParameterType.cs (1)
28
public ParentSymbol OwningSymbol => Symbol.
parent
;
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (1)
131
Debug.Assert(ats == null || sym.
parent
== ats.OwningAggregate);
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
387
for (AggregateSymbol p = parent; p != null; p = p.
parent
as AggregateSymbol)