コード例 #1
0
ファイル: AbstractReturnType.cs プロジェクト: VE-2016/VE-2016
        public override bool Equals(object o)
        {
            IReturnType rt = o as IReturnType;

            if (rt == null)
            {
                return(false);
            }
            return(rt.IsDefaultReturnType && DefaultReturnType.Equals(this, rt));
        }
コード例 #2
0
        public override bool Equals(object o)
        {
            IReturnType rt2 = o as IReturnType;

            if (rt2 != null && rt2.IsDefaultReturnType)
            {
                return(DefaultReturnType.Equals(this, rt2));
            }
            else
            {
                return(false);
            }
        }