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