4 overrides of Modules
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEAssemblySymbol.cs (1)
110
public override ImmutableArray<ModuleSymbol>
Modules
Symbols\MissingAssemblySymbol.cs (1)
74
public override ImmutableArray<ModuleSymbol>
Modules
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
166
public override ImmutableArray<ModuleSymbol>
Modules
Symbols\Source\SourceAssemblySymbol.cs (1)
564
public override ImmutableArray<ModuleSymbol>
Modules
37 references to Modules
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder_Symbols.cs (1)
2637
Compilation.Assembly.
Modules
[0].GetReferencedAssemblySymbols())
Compilation\CSharpCompilation.cs (5)
1203
return index < 0 ? null : this.Assembly.
Modules
[index];
1216
return Assembly.
Modules
.SelectMany(module => module.GetReferencedAssemblies());
1304
modules.AddRange(Assembly.
Modules
);
1401
return Assembly.
Modules
[0];
1672
result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.
Modules
[0], ref emittedName, specialType);
Compiler\ClsComplianceChecker.cs (3)
115
for (int i = 0; i < symbol.
Modules
.Length; i++)
117
ModuleSymbol module = symbol.
Modules
[i];
165
ModuleSymbol sourceModule = symbol.
Modules
[0];
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (4)
190
return otherAssembly.
Modules
[0];
194
for (int i = 1; i < otherAssembly.
Modules
.Length; i++)
196
var otherModule = otherAssembly.
Modules
[i];
225
foreach (var otherReferencedAssembly in _otherAssembly.
Modules
[0].ReferencedAssemblySymbols)
Emitter\Model\PEModuleBuilder.cs (2)
898
AssemblyOrModuleSymbolToModuleRefMap.TryAdd(assembly.
Modules
[0], cachedAsmRef);
932
if ((object)container != null && ReferenceEquals(container.
Modules
[0], module))
Emitter\NoPia\EmbeddedTypesManager.cs (1)
232
foreach (ModuleSymbol m in a.
Modules
)
Symbols\AssemblySymbol.cs (3)
111
return
Modules
[0].Machine;
122
return
Modules
[0].Bit32Required;
363
return new MissingMetadataTypeSymbol.TopLevel(this.
Modules
[0], ref emittedName, diagnosticInfo);
Symbols\Compilation_UsedAssemblies.cs (2)
103
for (int i = (includeMainModule ? 0 : 1); i < assembly.
Modules
.Length; i++)
105
foreach (var dependency in assembly.
Modules
[i].ReferencedAssemblySymbols)
Symbols\Compilation_WellKnownMembers.cs (2)
170
result = new MissingMetadataTypeSymbol.TopLevel(this.Assembly.
Modules
[0], ref emittedName, type, errorInfo);
174
result = new MissingMetadataTypeSymbol.TopLevel(this.Assembly.
Modules
[0], ref emittedName, type);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
217
specifierType = new MissingMetadataTypeSymbol.TopLevel(compilation.Assembly.CorLibrary.
Modules
[0], ref metadataName, new CSDiagnosticInfo(ErrorCode.ERR_TypeNotFound, typeName));
Symbols\MetadataOrSourceAssemblySymbol.cs (5)
48
foreach (var module in this.
Modules
)
57
ModuleSymbol module = this.
Modules
[0];
128
Interlocked.CompareExchange(ref _lazyTypeNames, UnionCollection<string>.Create(this.
Modules
, m => m.TypeNames), null);
165
Interlocked.CompareExchange(ref _lazyNamespaceNames, UnionCollection<string>.Create(this.
Modules
, m => m.NamespaceNames), null);
184
foreach (var module in this.
Modules
)
Symbols\NonMissingAssemblySymbol.cs (3)
62
IEnumerable<NamespaceSymbol> allGlobalNamespaces = from m in
Modules
select m.GlobalNamespace;
138
foreach (var module in this.
Modules
)
182
return CacheTopLevelMetadataType(ref emittedName, result ?? new MissingMetadataTypeSymbol.TopLevel(this.
Modules
[0], ref emittedName));
Symbols\ReferenceManager.cs (4)
128
foreach (var module in assemblySymbol.
Modules
)
330
assemblySymbol.
Modules
[0].SetReferences(sourceModuleReferences);
332
var assemblyModules = assemblySymbol.
Modules
;
1097
var modules = compilation.Assembly.
Modules
;
Symbols\Source\SourceNamespaceSymbol.cs (1)
296
if (@namespace.ContainingAssembly.
Modules
.Length > 1)