aboutsummaryrefslogtreecommitdiffstatsci
path: root/src
diff options
context:
space:
mode:
authorjp <jp_bruyere@hotmail.com>2016-07-25 08:47:14 +0200
committerjp <jp_bruyere@hotmail.com>2016-07-25 08:47:14 +0200
commit2d4c607cbf878b97eb79d89c6581a1665cd9a8ac (patch)
treea8c5c4c41b6d61f3f58b174a97abc400d674ad93 /src
parent98832e87a19981eeefb6a23413c8a1058a40c779 (diff)
appveyor test, removed c#6 feature
Diffstat (limited to 'src')
-rw-r--r--src/GraphicObjects/GraphicObject.cs2
-rw-r--r--src/Interface.cs6
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
}
}