Book a Demo

Author Topic: VB.NET parse error - "Unexpected symbol: Event"  (Read 5936 times)

mover

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
VB.NET parse error - "Unexpected symbol: Event"
« on: August 20, 2008, 11:13:18 pm »
I've got a project that contains several classes that EA (7.1) can't reverse engineer. Here's an example of the declaration that fails:

[size=9]Public Custom Event PropertyChanged As PropertyChangedEventHandler _
              Implements INotifyPropertyChanged.PropertyChanged
[/size]


Does anyone know if there's a way to get around this (short of commenting out a block of code before reverse engineering)?

Thanks!

Mike:o

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: VB.NET parse error - "Unexpected symbol: Event
« Reply #1 on: August 20, 2008, 11:28:35 pm »
What happens if you omit the "Custom" keyword?

Either way, I suggest you send an example file (compressed) to Sparx Support. You can do this by using the Registered Users bug report form, or by sending an email to Sparx Support. You'll find the correct links on the Registered Users page or the Support page respectively.

David
No, you can't have it!

mover

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: VB.NET parse error - "Unexpected symbol:
« Reply #2 on: August 21, 2008, 11:09:40 am »
Thanks for the quick reply!

I tried removing the "Custom" keyword and still get the same error. Several other modifications also failed.

I took your suggestion and submitted as a bug to Sparx. We'll see what comes of it...

Mike:o
« Last Edit: August 21, 2008, 11:10:37 am by Mover »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: VB.NET parse error - "Unexpected symbol: Event
« Reply #3 on: August 21, 2008, 10:41:01 pm »
Sorry I did not have a solution for you Mike.

Please keep us in the loop.
No, you can't have it!