Included ignored fields in the wrappers for better marshalling

The method should return if the @class.IsGenerated is false. Now that IgnoreClassWithName is setting @class.GenerationKind to GenerationKind.Internal this change is not required.