AddReferencedAssembly() public method

For the source code to compile, it needs to have a reference to assemblies to use the IL code inside them.
public AddReferencedAssembly ( Assembly assembly ) : void
assembly System.Reflection.Assembly An assembly to add.
return void
        /// <summary>
        /// Constructor.
        /// </summary>
        public Indicator_Compilation_Manager()
        {
            compiler = new CSharp_Compiler();

            foreach (Assembly assembly in GetReferencedAndInitialAssembly(Assembly.GetEntryAssembly()))
            {
                compiler.AddReferencedAssembly(assembly);
            }
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public Indicator_Compilation_Manager()
        {
            compiler = new CSharp_Compiler();

            foreach (Assembly assembly in GetReferencedAndInitialAssembly(Assembly.GetEntryAssembly()))
            {
                compiler.AddReferencedAssembly(assembly);
            }
        }