12 references to Parent
Microsoft.CodeAnalysis (12)
NativePdbWriter\PdbWriter.cs (2)
169
for (var scope = namespaceScopes; scope != null; scope = scope.
Parent
)
190
for (IImportScope scope = namespaceScopes; scope != null; scope = scope.
Parent
)
PEWriter\CustomDebugInfoWriter.cs (3)
277
for (IImportScope scope = methodBody.ImportScope; scope != null; scope = scope.
Parent
)
329
s1 = s1.
Parent
;
330
s2 = s2.
Parent
;
PEWriter\MetadataWriter.PortablePdb.cs (6)
45
x != null && y != null && Equals(x.
Parent
, y.
Parent
) && x.GetUsedNamespaces(_context).SequenceEqual(y.GetUsedNamespaces(_context));
50
return Hash.Combine(Hash.CombineValues(obj.GetUsedNamespaces(_context)), obj.
Parent
!= null ? GetHashCode(obj.
Parent
) : 0);
445
var parent = scope.
Parent
;
446
var parentScopeHandle = (parent != null) ? GetImportScopeIndex(scope.
Parent
, scopeIndex) : ModuleImportScopeHandle;
PEWriter\ReferenceIndexer.cs (1)
113
for (IImportScope scope = body.ImportScope; scope != null; scope = scope.
Parent
)