Merge pull request #1854 from svedm/master
authorJoão Matos <joao@tritao.eu>
Wed, 3 Jun 2015 17:41:26 +0000 (18:41 +0100)
committerJoão Matos <joao@tritao.eu>
Wed, 3 Jun 2015 17:41:26 +0000 (18:41 +0100)
Fix typo

mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs

index 3f8fc5e932b80b9e37aa20ee4d3c3056b00e501d..8bed0815d260a9d15a98da78b35cdbbe2a62f6ba 100644 (file)
@@ -986,7 +986,7 @@ namespace System.Runtime.InteropServices
 
                internal static uint AlignedSizeOf<T> () where T : struct
                {
-                       uint size = SizeOfTypei (typeof (T));
+                       uint size = SizeOfType (typeof (T));
                        if (size == 1 || size == 2)
                                return size;
                        if (IntPtr.Size == 8 && size == 4)