override public string ToString()
 {
     if (mCastType == null)
     {
         return(RTSUtil.linkString(' ', mSrc, mChild,
                                   RTSUtil.isNullOrEmpty(mSrc) ? null : (mSrc[0] + 1).ToString()));
     }
     else
     {
         return(RTSUtil.linkString(' ', '(', mCastType.typeName(), ')', mSrc, mChild,
                                   RTSUtil.isNullOrEmpty(mSrc) ? "" : (mSrc[0] + 1).ToString()));
     }
 }
Beispiel #2
0
 override public string ToString()
 {
     System.Text.StringBuilder buf = new System.Text.StringBuilder();
     if (mCastType != null)
     {
         buf.Append('(').Append(mCastType.typeName()).Append(')');
     }
     if (mProperty != 0)
     {
         buf.Append(RTSUtil.propertyName(mProperty));
     }
     buf.Append(mSrc);
     if (mArg != null)
     {
         buf.Append(mArg.ToString());
     }
     return(buf.ToString());
 }