Home Patches

Patch #2 for slice2cs and slice2vb, release 2.0.0

michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
Hi,

attached is a patch the fixes a minor bug in the slice2cs and slice2vb compilers. If you define a Slice exception with a member named "HelpLink", "HResult", "InnerException", "Message", "Source", "StackTrace", or "TargetSite", the compiler generates invalid code.

The patch fixes this by adding these identifiers to the list of identifiers that are mangled, that is, with the patch, an exception member named "Message" is mapped to "_Ice_Message".

Cheers,

Michi.
Sign In or Register to comment.