10 references to GetUsedNamespaces
Microsoft.CodeAnalysis (10)
NativePdbWriter\PdbWriter.cs (2)
171
foreach (var import in scope.
GetUsedNamespaces
(Context))
192
foreach (UsedNamespaceOrType import in scope.
GetUsedNamespaces
(Context))
PEWriter\CustomDebugInfoWriter.cs (3)
279
usingCounts.Add(scope.
GetUsedNamespaces
(context).Length);
324
if (!s1.
GetUsedNamespaces
(context).SequenceEqual(s2.
GetUsedNamespaces
(context)))
PEWriter\MetadataWriter.PortablePdb.cs (4)
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);
460
foreach (UsedNamespaceOrType import in scope.
GetUsedNamespaces
(Context))
PEWriter\ReferenceIndexer.cs (1)
117
VisitImports(scope.
GetUsedNamespaces
(Context));