Author: alanmc
Date: 2007-01-03 18:45:12 -0500 (Wed, 03 Jan 2007)
New Revision: 70446

Modified:
   trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/IUpdateable.cs
Log:
You can't apply public/abstract/virtual modifiers to interface members. The 
docs are wrong.

Modified: trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/IUpdateable.cs
===================================================================
--- trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/IUpdateable.cs      
2007-01-03 23:35:00 UTC (rev 70445)
+++ trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/IUpdateable.cs      
2007-01-03 23:45:12 UTC (rev 70446)
@@ -29,26 +29,26 @@
 
 namespace Microsoft.Xna.Framework
 {
-       public interface IUpdateable
-       {
-               #region Public Properties
+    public interface IUpdateable
+    {
+        #region Public Properties
 
-               public virtual abstract bool Enabled { get; }
-               public virtual abstract int UpdateOrder { get; }
+        bool Enabled { get; }
+        int UpdateOrder { get; }
 
-               #endregion Public Properties
+        #endregion Public Properties
 
-               #region Public Methods
+        #region Public Methods
 
-               public void Update(GameTime gameTime);
+        void Update(GameTime gameTime);
 
-               #endregion Public Methods
+        #endregion Public Methods
 
-               #region Public Events
+        #region Public Events
 
-               public virtual abstract event EventHandler EnabledChanged;
-               public virtual abstract event EventHandler UpdateOrderChanged;
+        event EventHandler EnabledChanged;
+        event EventHandler UpdateOrderChanged;
 
-               #endregion Public Events
-       }
+        #endregion Public Events
+    }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to