Re: [Mono-dev] Patch for a bug when using sizeof with a generic

2011-02-13 Thread Zoltan Varga
Applied to HEAD/2.10/2.6. Thanks. Zoltan On Sun, Feb 13, 2011 at 3:21 PM, Alexandre Mutel wrote: >Hi All, > I would like to submit a patch for this bug: > https://bugzilla.novell.com/show_bug.cgi?id=580189 > I’m using sizeof(T) in the SharpDX project (A fully managed .NET DirectX

[Mono-dev] Patch for a bug when using sizeof with a generic

2011-02-13 Thread Alexandre Mutel
Hi All, I would like to submit a patch for this bug: https://bugzilla.novell.com/show_bug.cgi?id=580189 I’m using sizeof(T) in the SharpDX project (A fully managed .NET DirectX API http://code.google.com/p/sharpdx/) to be able to write efficiently structured data in memory. This instruction is