diff --git a/src/Generator/Passes/FieldToPropertyPass.cs b/src/Generator/Passes/FieldToPropertyPass.cs index 2f038849..d94adebb 100644 --- a/src/Generator/Passes/FieldToPropertyPass.cs +++ b/src/Generator/Passes/FieldToPropertyPass.cs @@ -51,7 +51,8 @@ namespace CppSharp.Passes QualifiedType = field.QualifiedType, Access = field.Access, Field = field, - AssociatedDeclaration = field + AssociatedDeclaration = field, + Comment = field.Comment }; if (Options.GeneratorKind == GeneratorKind.C ||