From c97caea03dc188aabd7e929276cf62a87c11a3fe Mon Sep 17 00:00:00 2001 From: triton Date: Wed, 30 Jan 2013 14:42:59 +0000 Subject: [PATCH] Change properties to inherit from declarations. --- src/Bridge/Property.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Bridge/Property.cs b/src/Bridge/Property.cs index 85ed4889..4d761bcb 100644 --- a/src/Bridge/Property.cs +++ b/src/Bridge/Property.cs @@ -6,7 +6,7 @@ namespace Cxxi /// /// Represents a C++ property. /// - public class Property + public class Property : Declaration { public Property(string name, Declaration type) { @@ -14,12 +14,6 @@ namespace Cxxi Type = type; } - public string Name - { - get; - set; - } - public Declaration Type { get; @@ -37,5 +31,10 @@ namespace Cxxi get; set; } + + public override T Visit(IDeclVisitor visitor) + { + throw new NotImplementedException(); + } } } \ No newline at end of file