Exemplo n.º 1
0
        private void ExternalMethod()
        {
            if (!Method.IsExternal)
            {
                return;
            }

            IsCILDecodeRequired  = false;
            IsExecutePipeline    = false;
            IsStackFrameRequired = false;

            var intrinsic = Architecture.GetInstrinsicMethod(Method.ExternMethodModule);

            if (intrinsic != null)
            {
                return;
            }

            Linker.DefineExternalSymbol(Method.FullName, Method.ExternMethodName, SectionKind.Text);
        }