Пример #1
0
            public override string ToString()
            {
                string s = Operand.ToString() + " : " + Status.ToString();

                if (IsConstant)
                {
                    s = s + " = " + ConstantUnsignedLongInteger.ToString();
                }

                return(s);
            }
            public override string ToString()
            {
                string s = Operand.ToString() + " : " + Status.ToString();

                if (IsSingleConstant)
                {
                    s = s + " = " + ConstantUnsignedLongInteger.ToString();
                }
                else if (HasMultipleConstants)
                {
                    s = s + " (" + constants.Count.ToString() + ") =";
                    foreach (ulong i in constants)
                    {
                        s = s + " " + i.ToString();
                        s = s + ",";
                    }
                    s = s.TrimEnd(',');
                }

                return(s);
            }