C# reverse

General discussions about code engineering

Moderator: Moderators

C# reverse

Postby javp » Wed Aug 02, 2017 6:47 am


I am testing the reverse capabilities of MagicDraw and the code base on which I am reversing is written in C# 6.0.
During the reverse process, the console shows messages such as : "Parsing failed (sample.cs) Encountered "void" at line x, column y. "
The failing line is something like : partial void OnIdChanged();
Partial methods where introduced in C# version 4.

As far as I understand the documentation (CODE ENGINEERING user guide) which explains C#2.0 and C#3.0 specificities and how they map to the C# profile, code reverse does not support C#4+. Am I right ?
My second question is when do you plan to support it ?

Thanks for your answer
Forum Newbie
Forum Newbie
Posts: 1
Posts Rating:0
Joined: Tue Aug 01, 2017 8:47 am

Re: C# reverse

Postby arnon_l » Thu Aug 03, 2017 12:44 am


Yes, our C# code engineering supports until version 3.0.

And I am sorry to inform that we still have no plan to update it to the new version.

Customer Support
Customer Support
Posts: 81
Posts Rating:10
Joined: Thu Aug 30, 2012 3:39 am

Re: C# reverse

Postby dwood@harris.com » Tue Dec 03, 2019 1:44 pm

Does MagicDraw 19 now support reverse capabilities for C# 6.0?
Forum Newbie
Forum Newbie
Posts: 9
Posts Rating:2
Joined: Thu Jan 26, 2017 11:22 am

Re: C# reverse

Postby albertareed1988@gmail.com » Tue May 11, 2021 1:20 am

Two new number types for .NET with the usual arithmetic operators, and a function defined using only these number types is automatically "differentiable", meaning you can take the derivative like in calculus.

The two types are for forward-mode and reverse-mode differentiation, each of which is suited to different problems.

Deep learning and optimization frameworks are largely now based on reverse mode automatic differentiation.

Forum Newbie
Forum Newbie
Posts: 1
Posts Rating:0
Joined: Tue May 11, 2021 1:19 am

Return to Code engineering

Who is online

Users browsing this forum: No registered users and 0 guests