IsInstance() public method

Indicates whether this expression references an instance
public IsInstance ( ) : bool
return bool
コード例 #1
0
        /// <summary>
        /// Indicates whether this expression references an instance
        /// </summary>
        /// <returns></returns>
        public override bool IsInstance()
        {
            bool retVal = false;

            if (Term != null)
            {
                retVal = Term.IsInstance();
            }
            else if (Expression != null)
            {
                retVal = Expression.IsInstance();
            }
            return(retVal);
        }