at line 590, column 34 in ExtensionMethods.cs
Code: Select all
public static int SizeOf( Type type ) {
if( type.IsValueType ) {
return System.Runtime.InteropServices.Marshal.SizeOf( type );
} else {
RuntimeTypeHandle th = type.TypeHandle;
return *(*(int**)&th + 1); // <--- this line
}
}