From 2d4c607cbf878b97eb79d89c6581a1665cd9a8ac Mon Sep 17 00:00:00 2001 From: jp Date: Mon, 25 Jul 2016 08:47:14 +0200 Subject: [PATCH] appveyor test, removed c#6 feature --- src/GraphicObjects/GraphicObject.cs | 2 +- src/Interface.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index 2838f6cd..e72a2caf 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -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 diff --git a/src/Interface.cs b/src/Interface.cs index b8426e6f..30fa4b74 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -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 } } -- 2.47.3