protected SmartNotifyPropertyChangedExpressionAttribute(object instance, string propertyName)
        {
            Instance     = instance;
            PropertyName = propertyName;

            var raisePropertyMethodInfo = SmartNotifyPropertyChangedVariableAttributeBase.GetRaiseMethod(Instance.GetType());

            raisePropertyChanged = (Action <string>)Delegate.CreateDelegate(typeof(Action <string>), Instance, raisePropertyMethodInfo, true);
        }
 public override bool CompileTimeValidate(LocationInfo locationInfo)
 {
     SmartNotifyPropertyChangedVariableAttributeBase.ValidateHasRaiseMethod(locationInfo);
     return(base.CompileTimeValidate(locationInfo));
 }