Fix typo
authorSvetoslav <venom@localhost.localdomain>
Wed, 3 Jun 2015 17:20:18 +0000 (22:20 +0500)
committerSvetoslav <venom@localhost.localdomain>
Wed, 3 Jun 2015 17:20:18 +0000 (22:20 +0500)
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)