Example #1
0
        ////-------------------------------------------------------------------------------------------------------------------------------------------------

        //#region IEquatable<OperandCapture> Members

        //public bool Equals(OperandCapture other)
        //{
        //	if ( other != null )
        //	{
        //		return this.SourceOperand.Equals(other.SourceOperand);
        //	}
        //	else
        //	{
        //		return false;
        //	}
        //}

        //#endregion

        //-------------------------------------------------------------------------------------------------------------------------------------------------

        #region Overrides of Object

        //public override bool Equals(object obj)
        //{
        //	return Equals(obj as OperandCapture);
        //}

        ////-----------------------------------------------------------------------------------------------------------------------------------------------------

        //public override int GetHashCode()
        //{
        //	return this.SourceOperand.GetHashCode();
        //}

        //-------------------------------------------------------------------------------------------------------------------------------------------------

        public override string ToString()
        {
            return(HoistedField != null ? HoistedField.ToString() : SourceOperand.ToString());
        }
 public Expression Build() => Build(SourceOperand.Build());
Example #3
0
 public SourceOperand(uint value, uint child)
 {
     ChildOperand = new SourceOperand(child);
     Parse(value);
 }