29 references to IImportScope
Microsoft.CodeAnalysis (29)
CodeGen\MethodBody.cs (3)
29private readonly Cci.IImportScope _importScopeOpt; 64Cci.IImportScope importScopeOpt, 141Cci.IImportScope Cci.IMethodBody.ImportScope => _importScopeOpt;
Emit\EditAndContinue\DeletedMethodBody.cs (1)
42public Cci.IImportScope ImportScope => null;
Emit\NoPia\CommonEmbeddedMethod.cs (1)
148Cci.IImportScope Cci.IMethodBody.ImportScope => null;
NativePdbWriter\PdbWriter.cs (3)
164var namespaceScopes = methodBody.ImportScope; 169for (var scope = namespaceScopes; scope != null; scope = scope.Parent) 190for (IImportScope scope = namespaceScopes; scope != null; scope = scope.Parent)
PEWriter\CustomDebugInfoWriter.cs (4)
277for (IImportScope scope = methodBody.ImportScope; scope != null; scope = scope.Parent) 309var previousScopes = _previousMethodBodyWithUsingInfo.ImportScope; 320var s1 = methodBody.ImportScope; 321var s2 = previousScopes;
PEWriter\IImportScope.cs (1)
24IImportScope Parent { get; }
PEWriter\Members.cs (1)
449IImportScope ImportScope { get; }
PEWriter\MetadataWriter.cs (1)
124_scopeIndex = new Dictionary<IImportScope, ImportScopeHandle>(new ImportScopeEqualityComparer(context));
PEWriter\MetadataWriter.PortablePdb.cs (10)
33internal sealed class ImportScopeEqualityComparer : IEqualityComparer<IImportScope> 42public bool Equals(IImportScope x, IImportScope y) 48public int GetHashCode(IImportScope obj) 55private readonly Dictionary<IImportScope, ImportScopeHandle> _scopeIndex; 76var bodyImportScope = bodyOpt.ImportScope; 436private ImportScopeHandle GetImportScopeIndex(IImportScope scope, Dictionary<IImportScope, ImportScopeHandle> scopeIndex) 445var parent = scope.Parent; 456private BlobHandle SerializeImportsBlob(IImportScope scope)
PEWriter\ReferenceIndexer.cs (3)
18private readonly HashSet<IImportScope> _alreadySeenScopes = new HashSet<IImportScope>(); 113for (IImportScope scope = body.ImportScope; scope != null; scope = scope.Parent)
PEWriter\RootModuleStaticConstructor.cs (1)
150public IImportScope ImportScope => null;