#46 AssemblyImport: constant Fields with null value

closed-fixed
Malte Ried
Plugin (17)
5
2012-03-23
2012-03-22
harborsiem
No

public const Object DESTINATION_NONE = null;
public const ModelIdentifier DESTINATION_NONE = null;
If I declare a const in my C# Project this way, NClass throw an Exception. In C# this declaration is legal.

Discussion

  • Malte Ried
    Malte Ried
    2012-03-23

    Hi!

    Thanks for reporting. You're absolutely right, this was a bug. I've fixed it at the SVN and will be part of the next NClass version.

    Malte

     
  • Malte Ried
    Malte Ried
    2012-03-23

    • status: open --> closed-fixed