隐藏ToString等系统自带方法

            namespace Anytao.Core.Common
            {
                /// <summary> 
                /// A common interface for any object 
                /// </summary> 
                [EditorBrowsable(EditorBrowsableState.Never)]
                public interface IAnyObject
                {
                    [EditorBrowsable(EditorBrowsableState.Never)]
                    bool Equals(object obj);

                    [EditorBrowsable(EditorBrowsableState.Never)]
                    int GetHashCode();

                    [EditorBrowsable(EditorBrowsableState.Never)]
                    Type GetType();

                    [EditorBrowsable(EditorBrowsableState.Never)]
                    string ToString();
                }
            }
原文地址:https://www.cnblogs.com/yeagen/p/2666264.html