From c3d12bfbe7ec1d9bd2389f24310683e0dc836625 Mon Sep 17 00:00:00 2001 From: Manuel Carrasco Date: Fri, 25 Oct 2019 16:37:33 -0300 Subject: [PATCH] Added InitalValue field to FieldDefinition --- Model/Types/TypeDefinitions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Model/Types/TypeDefinitions.cs b/Model/Types/TypeDefinitions.cs index 27062ea7..78748e6c 100644 --- a/Model/Types/TypeDefinitions.cs +++ b/Model/Types/TypeDefinitions.cs @@ -110,14 +110,14 @@ public class FieldDefinition : ITypeMemberDefinition, IFieldReference public IType Type { get; set; } public string Name { get; set; } public Constant Value { get; set; } - public bool IsStatic { get; set; } - + public byte[] InitialValue { get; set; } public FieldDefinition(string name, IType type) { this.Name = name; this.Type = type; this.Attributes = new HashSet(); + this.InitialValue = new byte[0]; } #region ITypeMemberReference members