IsInstance() public method

Indicates whether this expression references an instance
public IsInstance ( ) : bool
return bool
Esempio n. 1
0
        /// <summary>
        /// Indicates whether this expression references an instance
        /// </summary>
        /// <returns></returns>
        public bool IsInstance()
        {
            bool retVal = false;

            if (LiteralValue != null)
            {
                retVal = true;
            }
            else if (Designator != null)
            {
                retVal = Designator.IsInstance();
            }
            return(retVal);
        }