Пример #1
0
        public void Compile(string file)
        {
            FileCompilation fc = new FileCompilation(new FileReference(file));

            LinkerTarget linkTarget = new LinkerTarget(fc, fc.Reference.LinkerArguments);

            LinkerResult linkResult = m_Linker.Link(linkTarget, this);

            LinkerResult = linkResult;

            ByteCode = m_AssemblyGenerator.Assemble(linkResult);

            LinkerInfo = CreateFromResult(linkResult);
        }