Extended the searching for classes to check nested classes as well.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #134 from ddobrev/master

Extended the searching for classes to check nested classes as well
Fixed the returning of empty values when the returned type is a structure.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #135 from ddobrev/master

Fixed the returning of empty values when the returned type is a structure
Fixed the generation of 'ToInternal' to check for null only fields of a ref type.

Part of the patch by @ddobrev.
Remove unused constructors.
Reworked pointer marshaling in C# and CLI.

We are now more consistent between backends, specifically we need to make sure
to avoid directly visiting the desugared type since we might lose type maps when
handling typedefs.
Remove useless code.
Improved the diagnostic for ignored fields.
Fixed regression in parsing of preprocessed entities.

Specifically we now store the pointer of the original declaration and check for duplicates.
Fixed CLI newline behavior for some declarations.
Print the pass name before the diagnostics under debug mode.
Add the method to the marshaling context when handling value type ctors.

This fixes a marshaling regression with extra erroneous "&" which was caused by the fix done a couple days ago.
Remove an unused constructor.
Fixed wrong comment.
Merge remote-tracking branch 'upstream/master'