Fixed handling of static fields in the parser.

References #320.
Improved wide char handling in the C# and CLI.

References #320.