Example #1
0
        /// <summary>Gets the field info for this global.</summary>
        internal FieldInfo GetField(Module module, out Type type)
        {
            if (Field == null)
            {
                Field = module.DefineField("global_" + Index, Type);
            }

            type = Type;
            return(Field);
        }