Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
@ -138,7 +138,7 @@ namespace CppSharp.AST
public bool IsValueType
{
get { return Type == ClassType.ValueType; }
get { return Type == ClassType.ValueType || IsUnion; }
}
public bool IsRefType
@ -310,12 +310,6 @@ namespace CppSharp.Generators.CSharp
PushBlock(CSharpBlockKind.Class);
GenerateDeclarationCommon(@class);
if (@class.IsUnion)
// TODO: How to do wrapping of unions?
throw new NotImplementedException();
GenerateClassProlog(@class);
NewLine();