diff --git a/src/AST/Function.cs b/src/AST/Function.cs index 9657479f..2c9fb372 100644 --- a/src/AST/Function.cs +++ b/src/AST/Function.cs @@ -248,6 +248,11 @@ namespace CppSharp.AST public string Signature { get; set; } public string Body { get; set; } + /// + /// Field associated in case of synthetized field acessors. + /// + public Field Field { get; set; } + public override T Visit(IDeclVisitor visitor) { return visitor.VisitFunctionDecl(this);