From c8b69fd601f34aa399c6f10533cad7b1f8285ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Krog?= Date: Tue, 11 Feb 2014 22:31:53 +0100 Subject: [PATCH] Add Expression property in Field, allows a field to have a "value" --- src/AST/Field.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AST/Field.cs b/src/AST/Field.cs index 82bd5634..e84d83cd 100644 --- a/src/AST/Field.cs +++ b/src/AST/Field.cs @@ -16,6 +16,8 @@ namespace CppSharp.AST get { return Offset / (sizeof (byte) * 8); } } + public Expression Expression { get; set; } + public Field() { Offset = 0;