public override void Resolve(CodeGen codegen)
        {
            if (is_resolved)
            {
                return;
            }

            ModuleRef = codegen.PEFile.AddExternModule(name);
            if (customattr_list != null)
            {
                foreach (CustomAttr customattr in customattr_list)
                {
                    customattr.AddTo(codegen, ModuleRef);
                }
            }

            is_resolved = true;
        }
Пример #2
0
                public override void Resolve (CodeGen codegen)
                {
                        if (is_resolved)
                                return;

                        ModuleRef = codegen.PEFile.AddExternModule (name);
                        if (customattr_list != null)
                                foreach (CustomAttr customattr in customattr_list)
                                        customattr.AddTo (codegen, ModuleRef);

                        is_resolved = true;
                }