Exemplo n.º 1
0
        public bool IsDefaultValue()
        {
            switch (_assignmentType)
            {
            case AssignmentType.Constant: return(false);

            case AssignmentType.GlobalVariable: return(_globalVariable.IsDefaultValue());

            case AssignmentType.PersonalVariable: return(_instancedVariable.GetVariable(IDToken).IsDefaultValue());

            default:
                throw new System.ArgumentOutOfRangeException();
            }
        }