internal void SetStatus(BindingStatus status)
        {
            if (_status == BindingStatus.Detached && status != _status) 
            {
                throw new InvalidOperationException(SR.Get(SRID.BindingExpressionStatusChanged, _status, status)); 
            } 

            _status = status; 

            if (_traceLog != null)
            {
                _traceLog.Add("Set status = {0} {1}", _status, new StackTrace()); 
            }
        }