From 800aaa6bfe891d5261db2414b0809c54b2cd1ca9 Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Mon, 13 Aug 2012 14:59:54 +0000 Subject: [PATCH] --- source2/IL2CPU/Cosmos.IL2CPU/Plugs/System/ArrayImpl.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source2/IL2CPU/Cosmos.IL2CPU/Plugs/System/ArrayImpl.cs b/source2/IL2CPU/Cosmos.IL2CPU/Plugs/System/ArrayImpl.cs index 2795c8f22..168e2b967 100644 --- a/source2/IL2CPU/Cosmos.IL2CPU/Plugs/System/ArrayImpl.cs +++ b/source2/IL2CPU/Cosmos.IL2CPU/Plugs/System/ArrayImpl.cs @@ -30,14 +30,14 @@ namespace Cosmos.IL2CPU.X86.Plugs.CustomImplementations.System { return aThis.Length; } - //[PlugMethod(Assembler = typeof(Assemblers.Array_get_Length))] - //public static int get_Length(Array aThis) { + [PlugMethod(Assembler = typeof(Assemblers.Array_get_Length))] + public static int get_Length(Array aThis) { //aThis += 2; //return *aThis; - //} + return 0 + } - - [PlugMethod(Signature = "System_Boolean__System_Array_TrySZBinarySearch_System_Array__System_Int32__System_Int32__System_Object___System_Int32_")] + [PlugMethod(Signature = "System_Boolean__System_Array_TrySZBinarySearch_System_Array__System_Int32__System_Int32__System_Object___System_Int32_")] public static unsafe bool TrySZBinarySearch(uint* aArray, uint sourceIndex, uint count, uint value, out uint retVal) { return TrySZIndexOf(aArray, sourceIndex, count, value, out retVal); }