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