-
-
Save abock/63aa1c3457e1888164cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Sharpie.Bind/Attributes/ExportAttribute.cs b/Sharpie.Bind/Attributes/ExportAttribute.cs | |
index f489112..f6c492e 100644 | |
--- a/Sharpie.Bind/Attributes/ExportAttribute.cs | |
+++ b/Sharpie.Bind/Attributes/ExportAttribute.cs | |
@@ -30,7 +30,7 @@ namespace Sharpie.Bind.Attributes | |
if (argumentSemantic != ArgumentSemantic.None) | |
Arguments.Add (new MemberReferenceExpression ( | |
- new IdentifierExpression ("ArgumentSemantic"), | |
+ new TypeReferenceExpression (AstType.Create ("ObjCRuntime.ArgumentSemantic")), | |
argumentSemantic.ToString () | |
)); | |
diff --git a/Tests/Massagers/Delegate.cs b/Tests/Massagers/Delegate.cs | |
index aa74aa4..80a31cb 100644 | |
--- a/Tests/Massagers/Delegate.cs | |
+++ b/Tests/Massagers/Delegate.cs | |
@@ -1,4 +1,5 @@ | |
using Foundation; | |
+using ObjCRuntime; | |
// @interface PrimaryDelegate | |
interface PrimaryDelegate | |
diff --git a/Tests/Massagers/Unsafe.cs b/Tests/Massagers/Unsafe.cs | |
index 20bf55c..769cfef 100644 | |
--- a/Tests/Massagers/Unsafe.cs | |
+++ b/Tests/Massagers/Unsafe.cs | |
@@ -1,4 +1,5 @@ | |
using Foundation; | |
+using ObjCRuntime; | |
// @interface UnsafeMassagerTest | |
interface UnsafeMassagerTest | |
diff --git a/Tests/Properties.cs b/Tests/Properties.cs | |
index 97c3afb..ccc394b 100644 | |
--- a/Tests/Properties.cs | |
+++ b/Tests/Properties.cs | |
@@ -1,4 +1,5 @@ | |
using Foundation; | |
+using ObjCRuntime; | |
// @interface PropertyTests | |
interface PropertyTests | |
diff --git a/Tests/RealWorld/DTDevices.cs b/Tests/RealWorld/DTDevices.cs | |
index 50ad9b5..c93b4e0 100644 | |
--- a/Tests/RealWorld/DTDevices.cs | |
+++ b/Tests/RealWorld/DTDevices.cs | |
@@ -1,6 +1,7 @@ | |
using System; | |
using CoreBluetooth; | |
using Foundation; | |
+using ObjCRuntime; | |
using UIKit; | |
public enum SupportedDeviceTypes : uint | |
diff --git a/Tests/Types/Blocks.cs b/Tests/Types/Blocks.cs | |
index f098969..1eaa7ec 100644 | |
--- a/Tests/Types/Blocks.cs | |
+++ b/Tests/Types/Blocks.cs | |
@@ -1,5 +1,6 @@ | |
using System; | |
using Foundation; | |
+using ObjCRuntime; | |
// typedef void (^Action)(); | |
delegate void Action (); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment