1 instantiation of SourceModuleSymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceAssemblySymbol.cs (1)
131moduleBuilder.Add(new SourceModuleSymbol(this, compilation.Declarations, moduleName));
31 references to SourceModuleSymbol
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder_Symbols.cs (1)
2261((SourceModuleSymbol)this.Compilation.SourceModule).AnyReferencedAssembliesAreLinked)
Compilation\CSharpCompilation.cs (2)
2486((SourceModuleSymbol)SourceModule).DiscoverInterceptorsIfNeeded(); 3427(SourceModuleSymbol)SourceModule,
Emitter\Model\NamedTypeSymbolAdapter.cs (2)
823Debug.Assert((object)AdaptedNamedTypeSymbol.ContainingType == null && AdaptedNamedTypeSymbol.ContainingModule is SourceModuleSymbol); 961Debug.Assert(this.ContainingModule is SourceModuleSymbol);
Emitter\Model\PEAssemblyBuilder.cs (2)
74: base((SourceModuleSymbol)sourceAssembly.Modules[0], emitOptions, outputKind, serializationProperties, manifestResources) 373if (((SourceModuleSymbol)Compilation.SourceModule).RequiresRefSafetyRulesAttribute() &&
Emitter\Model\PEModuleBuilder.cs (2)
26internal abstract class PEModuleBuilder : PEModuleBuilder<CSharpCompilation, SourceModuleSymbol, AssemblySymbol, TypeSymbol, NamedTypeSymbol, MethodSymbol, SyntaxNode, NoPia.EmbeddedTypesManager, ModuleCompilationState> 78SourceModuleSymbol sourceModule,
Emitter\Model\PENetModuleBuilder.cs (1)
19SourceModuleSymbol sourceModule,
Emitter\Model\PropertySymbolAdapter.cs (1)
148Debug.Assert(AdaptedPropertySymbol.ContainingModule is SourceModuleSymbol || AdaptedPropertySymbol.ContainingAssembly.IsLinked);
Emitter\Model\SymbolAdapter.cs (2)
67Debug.Assert(this.ContainingModule is SourceModuleSymbol || 69(this.Kind == SymbolKind.NetModule && this is SourceModuleSymbol));
Lowering\MethodToClassRewriter.cs (1)
741Debug.Assert(containingType.ContainingModule is SourceModuleSymbol);
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
110modules[0] = new RetargetingModuleSymbol(this, (SourceModuleSymbol)underlyingAssembly.Modules[0]);
Symbols\Retargeting\RetargetingModuleSymbol.cs (4)
22/// another <see cref="SourceModuleSymbol"/> that is responsible for retargeting symbols from one assembly to another. 41private readonly SourceModuleSymbol _underlyingModule; 80public RetargetingModuleSymbol(RetargetingAssemblySymbol retargetingAssembly, SourceModuleSymbol underlyingModule) 126public SourceModuleSymbol UnderlyingModule
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
140private SourceModuleSymbol UnderlyingModule
Symbols\Source\SourceAssemblySymbol.cs (2)
889internal SourceModuleSymbol SourceModule 891get { return (SourceModuleSymbol)this.Modules[0]; }
Symbols\Source\SourceNamespaceSymbol.cs (2)
25private readonly SourceModuleSymbol _module; 54SourceModuleSymbol module, Symbol container,
Symbols\Symbol.cs (2)
207Debug.Assert(!(this is SourceModuleSymbol), "SourceModuleSymbol must override DeclaringCompilation"); 213case SourceModuleSymbol sourceModuleSymbol:
Symbols\Symbol_Attributes.cs (1)
570((SourceModuleSymbol)compilation.SourceModule).RecordPresenceOfBadAttributes();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (2)
127internal static NamedTypeSymbol Create(SourceModuleSymbol containingModule, string name, SynthesizedReadOnlyListKind kind) 265private SynthesizedReadOnlyListTypeSymbol(SourceModuleSymbol containingModule, string name, SynthesizedReadOnlyListKind kind, bool hasReadOnlyInterfaces)
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
30internal SynthesizedInlineArrayTypeSymbol(SourceModuleSymbol containingModule, string name, int arrayLength, MethodSymbol inlineArrayAttributeConstructor)
Symbols\Tuples\TupleTypeSymbol.cs (1)
55if (diagnostics?.DiagnosticBag is object && ((SourceModuleSymbol)compilation.SourceModule).AnyReferencedAssembliesAreLinked)