[Mono-bugs] [Bug 691417] New: avoid dependency on StructLayout(short) as it does not exists in SL
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue May 3 08:11:33 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=691417
https://bugzilla.novell.com/show_bug.cgi?id=691417#c0
Summary: avoid dependency on StructLayout(short) as it does not
exists in SL
Classification: Mono
Product: Mono: Compilers
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: msafar at novell.com
ReportedBy: spouliot at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Silverlight profile does not include a StructLayoutAttribute contructor that
accept a short. MCS depends on this constructor (typemanager.cs) and will error
out if the mscorlib.dll (we're compiling against) does not publicly export this
ctor.
The solution is to use the StructLayoutAttribute that accept a LayoutKind enum.
* at the moment Moonlight exports an extra, public ctor accepting a short - but
that (a) bad and (b) won't work when compiling against MS assemblies.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list