]> O.S.I.I.S - jp/crow.git/commitdiff
appveyor test, removed c#6 feature
authorjp <jp_bruyere@hotmail.com>
Mon, 25 Jul 2016 06:47:14 +0000 (08:47 +0200)
committerjp <jp_bruyere@hotmail.com>
Mon, 25 Jul 2016 06:47:14 +0000 (08:47 +0200)
src/GraphicObjects/GraphicObject.cs
src/Interface.cs

index 2838f6cd118b29865998e5d586149155e5522581..e72a2caf5e06766720fbc416be8b8beecea744ab 100644 (file)
@@ -147,7 +147,7 @@ namespace Crow
                        return
                                Parent.ScreenCoordinates(r) + Parent.getSlot().Position + Parent.ClientRectangle.Position;
                }
-               public virtual Rectangle getSlot() => Slot;
+               public virtual Rectangle getSlot () { return Slot;}
                #endregion
 
                #region EVENT HANDLERS
index b8426e6f8a1231d4dad7f78b0851e2474cec5ad4..30fa4b748340e20bf15b70fcf3574ec836d1c90f 100644 (file)
@@ -749,8 +749,8 @@ namespace Crow
                }
                public void RegisterForLayouting (LayoutingType layoutType) { throw new NotImplementedException (); }
                public bool UpdateLayout (LayoutingType layoutType) { throw new NotImplementedException (); }
-               public Rectangle ContextCoordinates (Rectangle r) => r;
-               public Rectangle ScreenCoordinates (Rectangle r) => r;
+               public Rectangle ContextCoordinates (Rectangle r) { return r;}
+               public Rectangle ScreenCoordinates (Rectangle r) { return r; }
 
                public ILayoutable Parent {
                        get { return null; }
@@ -767,7 +767,7 @@ namespace Crow
                public Interface HostContainer {
                        get { return this; }
                }
-               public Rectangle getSlot () => ClientRectangle;
+               public Rectangle getSlot () { return ClientRectangle; }
                #endregion
        }
 }