|
|
|
@ -637,15 +637,14 @@ namespace CppSharp.Generators.CSharp
@@ -637,15 +637,14 @@ namespace CppSharp.Generators.CSharp
|
|
|
|
|
if (arrayType != null && arrayType.SizeType == ArrayType.ArraySize.Constant) |
|
|
|
|
coreType = arrayType.Type.Desugar(); |
|
|
|
|
// we do not support the primitives below yet because their representation in C# is problematic
|
|
|
|
|
if (coreType.IsPrimitiveType(PrimitiveType.LongDouble) || |
|
|
|
|
coreType.IsPrimitiveType(PrimitiveType.Int128) || |
|
|
|
|
if (coreType.IsPrimitiveType(PrimitiveType.Int128) || |
|
|
|
|
coreType.IsPrimitiveType(PrimitiveType.UInt128) || |
|
|
|
|
coreType.IsPrimitiveType(PrimitiveType.Half)) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
TypePrinterResult retType = TypePrinter.VisitFieldDecl( |
|
|
|
|
new Field { Name = field.Name, QualifiedType = field.QualifiedType }); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PushBlock(BlockKind.Field); |
|
|
|
|
|
|
|
|
|
if (!Options.GenerateSequentialLayout || @class.IsUnion) |
|
|
|
|