diff --git a/src/AST/Property.cs b/src/AST/Property.cs index 8367cc07..1b8b93a2 100644 --- a/src/AST/Property.cs +++ b/src/AST/Property.cs @@ -5,11 +5,6 @@ namespace CppSharp.AST /// public class Property : Declaration, ITypedDecl { - public Property() - { - - } - public Type Type { get { return QualifiedType.Type; } @@ -17,17 +12,12 @@ namespace CppSharp.AST public QualifiedType QualifiedType { get; set; } - public Method GetMethod - { - get; - set; - } + public Method GetMethod { get; set; } - public Method SetMethod - { - get; - set; - } + public Method SetMethod { get; set; } + + // The field that should be get and set by this property + public Field Field { get; set; } public override T Visit(IDeclVisitor visitor) {