Book a Demo

Author Topic: c# - Reverse Engineer code - default values  (Read 3801 times)

pburtis

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
c# - Reverse Engineer code - default values
« on: May 21, 2011, 02:07:59 pm »
I am new and do not know where this should go.  I have code like this
c#
public void SomeFunction (object aVariable = null)
{
}

When  I ask to bring in the code, it gives me an error saying
"Unexpected symbol: = "

The ability to do that was introduced with .Net 4 I believe.  I am at EA8.0.864.  Is this supported there, or in 9.x, or am I doing something wrong?

Daniel Siegl

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: c# - Reverse Engineer code - default values
« Reply #1 on: May 23, 2011, 07:04:51 am »
Hi,
with EA 904 - it seems to work.
BR
Daniel

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: c# - Reverse Engineer code - default values
« Reply #2 on: May 23, 2011, 08:13:00 am »
Support for .Net 4 was not added until EA 9.