Пример #1
0
        //------------------------------------------------------------
        // MetaDataHelper.GetFullName (2) static method
        //
        /// <summary></summary>
        /// <param name="sym"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        //------------------------------------------------------------
        public static bool GetFullName(SYM sym, out string name)
        {
            StringBuilder  sb   = new StringBuilder();
            MetaDataHelper help = new MetaDataHelper();

            help.GetFullName(sym, sb, null);
            name = sb.ToString();
            return(true);
        }
Пример #2
0
        //------------------------------------------------------------
        // MetaDataHelper.GetExplicitImplName (2) static method
        //
        /// <summary></summary>
        /// <param name="sym"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        //------------------------------------------------------------
        internal static bool GetExplicitImplName(SYM sym, out string name)
        {
            StringBuilder  sb   = new StringBuilder();
            MetaDataHelper help = new MetaDataHelper();

            help.GetExplicitImplName(sym, sb);
            name = sb.ToString();
            return(true);
        }
Пример #3
0
        //------------------------------------------------------------
        // MetaDataHelper.GetMetaDataName (2) static method
        //
        /// <summary>
        /// <para>Return the name of class or type which appears in the metadata.</para>
        /// <para>Call the instance method GetMetaDataName.</para>
        /// </summary>
        /// <param name="bagSym"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        //------------------------------------------------------------
        internal static bool GetMetaDataName(BAGSYM bagSym, out string name)
        {
            MetaDataHelper help = new MetaDataHelper();
            StringBuilder  sb   = new StringBuilder();

            help.GetMetaDataName(bagSym, sb);
            name = sb.ToString();
            return(true);
        }