Skip to content

Instantly share code, notes, and snippets.

public static UIImage[] GetImagesIOS6 (UIPasteboard pasteboard)
{
global::MonoTouch.UIKit.UIApplication.EnsureUIThread ();
if (pasteboard == null)
throw new ArgumentNullException ("pasteboard");
var arrayptr = global::MonoTouch.ObjCRuntime.Messaging.IntPtr_objc_msgSend (pasteboard.Handle, new global::MonoTouch.ObjCRuntime.Selector ("images").Handle);
if (arrayptr == IntPtr.Zero)
return null;
diff --git a/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices/Utils.vb b/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices/Utils.vb
index a2416e2..cdeff0b 100644
--- a/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices/Utils.vb
+++ b/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices/Utils.vb
@@ -64,8 +64,8 @@ Namespace Microsoft.VisualBasic.CompilerServices
Return array.GetLength(dimension)
End Function
- Friend Shared Sub Array_Copy(ByVal sourceArray As System.Array, ByVal sourceIndex As Integer, ByVal destinationArray As System.Array, ByVal destinationIndex As Integer, ByVal length As Integer)
- System.Array.Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length)