Merge branch 'master' into msbuilddll2
[mono.git] / mcs / class / System / System.Windows.Input / ICommand.cs
index c36fea25f02f96e3089a4707e7ffa15aaf1d2909..7cb430fef6637dd60ff7a6f0e84bda32d6f9e3c7 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_4_5 || MOBILE
+#if NET_4_5
+
+using System.Runtime.CompilerServices;
 
 namespace System.Windows.Input {
        
-       public interface ICommand {
+       [TypeForwardedFrom (Consts.AssemblyPresentationCore_4_0)]
+       public interface ICommand
+       {
                bool CanExecute (object parameter);
                void Execute (object parameter);
                event EventHandler CanExecuteChanged;