14 references to PrimaryModule
Microsoft.CodeAnalysis.CSharp (14)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
103var metadataDecoder = new MetadataDecoder(metadataAssembly.PrimaryModule);
Symbols\Metadata\PE\PEAssemblySymbol.cs (12)
122return this.PrimaryModule.MetadataLocation.Cast<MetadataLocation, Location>(); 135=> PrimaryModule.Module.HasImportedFromTypeLibAttribute(Assembly.Handle, out _); 138=> PrimaryModule.Module.HasPrimaryInteropAssemblyAttribute(Assembly.Handle, out _, out _); 146this.PrimaryModule.LoadCustomAttributesFilterExtensions(_assembly.Handle, 151this.PrimaryModule.LoadCustomAttributes(_assembly.Handle, 174return this.PrimaryModule.GetAssembliesForForwardedType(ref emittedName); 179return this.PrimaryModule.GetForwardedTypes(); 194return CreateMultipleForwardingErrorTypeSymbol(ref emittedName, this.PrimaryModule, firstSymbol, secondSymbol); 313PEUtilities.DeriveCompilerFeatureRequiredAttributeDiagnostic(this, PrimaryModule, this.Assembly.Handle, CompilerFeatureRequiredFeatures.None, new MetadataDecoder(PrimaryModule)), 329var experimentalData = PrimaryModule.Module.TryDecodeExperimentalAttributeData(Assembly.Handle, new MetadataDecoder(PrimaryModule));
Symbols\ReferenceManager.cs (1)
1048if (EffectiveImportOptions != peAssembly.PrimaryModule.ImportOptions)