//----------------------------------------------------------------------------------------------------------------------------------------------------- #region Overrides of Object public override string ToString() { if (m_CallSite.IsDefined()) { return(m_CallSite.ToString()); } else if (m_Method != null) { var target = (m_Method.IsStatic ? "" : (m_Method.HasClosure ? m_Method.Closure.ClosureInstanceReference.ToString() + "." : "this.")); return(string.Format( "{0}({1}{2})", OperandType.FriendlyName(), target, m_Method.Name)); } else { return(string.Format("Delegate{0}{1}", m_Signature, m_Statements)); } }