internal override void SetReferences(ModuleReferences <AssemblySymbol> moduleReferences, SourceAssemblySymbol originatingSourceAssemblyDebugOnly)
 {
     throw ExceptionUtilities.Unreachable;
 }
        /// <summary>
        /// A helper method for ReferenceManager to set assembly identities for assemblies
        /// referenced by this module and corresponding AssemblySymbols.
        /// </summary>
        internal override void SetReferences(ModuleReferences <AssemblySymbol> moduleReferences, SourceAssemblySymbol originatingSourceAssemblyDebugOnly = null)
        {
            Debug.Assert(moduleReferences != null);

            AssertReferencesUninitialized();

            _moduleReferences = moduleReferences;
        }
Beispiel #3
0
 /// <summary>
 /// A helper method for ReferenceManager to set assembly identities for assemblies
 /// referenced by this module and corresponding AssemblySymbols.
 /// </summary>
 /// <param name="moduleReferences">A description of the assemblies referenced by this module.</param>
 /// <param name="originatingSourceAssemblyDebugOnly">
 /// Source assembly that triggered creation of this module symbol.
 /// For debug purposes only, this assembly symbol should not be persisted within
 /// this module symbol because the module can be shared across multiple source
 /// assemblies. This method will only be called for the first one.
 /// </param>
 internal abstract void SetReferences(ModuleReferences <AssemblySymbol> moduleReferences, SourceAssemblySymbol originatingSourceAssemblyDebugOnly = null);