projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into msbuilddll2
[mono.git]
/
mcs
/
class
/
System
/
System.Windows.Input
/
ICommand.cs
diff --git
a/mcs/class/System/System.Windows.Input/ICommand.cs
b/mcs/class/System/System.Windows.Input/ICommand.cs
index c15af7e2d9fde1a0ec136507dfa88a28b4f413e6..7cb430fef6637dd60ff7a6f0e84bda32d6f9e3c7 100644
(file)
--- a/
mcs/class/System/System.Windows.Input/ICommand.cs
+++ b/
mcs/class/System/System.Windows.Input/ICommand.cs
@@
-27,11
+27,15
@@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_4_0
+#if NET_4_5
+
+using System.Runtime.CompilerServices;
namespace System.Windows.Input {
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;
bool CanExecute (object parameter);
void Execute (object parameter);
event EventHandler CanExecuteChanged;