3 implementations of ImportScope
Microsoft.CodeAnalysis (3)
CodeGen\MethodBody.cs (1)
141Cci.IImportScope Cci.IMethodBody.ImportScope => _importScopeOpt;
Emit\NoPia\CommonEmbeddedMethod.cs (1)
148Cci.IImportScope Cci.IMethodBody.ImportScope => null;
PEWriter\RootModuleStaticConstructor.cs (1)
150public IImportScope ImportScope => null;
8 references to ImportScope
Microsoft.CodeAnalysis (8)
NativePdbWriter\PdbWriter.cs (2)
114if (!isKickoffMethod && methodBody.ImportScope != null) 164var namespaceScopes = methodBody.ImportScope;
PEWriter\CustomDebugInfoWriter.cs (4)
277for (IImportScope scope = methodBody.ImportScope; scope != null; scope = scope.Parent) 309var previousScopes = _previousMethodBodyWithUsingInfo.ImportScope; 312if (methodBody.ImportScope == previousScopes) 320var s1 = methodBody.ImportScope;
PEWriter\MetadataWriter.PortablePdb.cs (1)
76var bodyImportScope = bodyOpt.ImportScope;
PEWriter\ReferenceIndexer.cs (1)
113for (IImportScope scope = body.ImportScope; scope != null; scope = scope.Parent)