From 587c8dfff3db716e7718d21860bb3422e7170405 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Wed, 5 Dec 2018 15:18:41 +0100 Subject: [PATCH] Minor cleanup --- Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs b/Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs index cdae7b8..6cad4dc 100644 --- a/Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs +++ b/Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs @@ -71,11 +71,8 @@ namespace Upsilon.BoundTypes for (var i=0; i < enumValues.Length; i++) { - // Retrieve the value of the ith enum item. var value = enumValues.GetValue(i); - // Convert the value to its underlying type (int, byte, long, ...) - var underlyingValue = Convert.ChangeType(value, enumUnderlyingType); var name = value.ToString().ToLowerInvariant(); Properties.Add(name, new UserDataBoundProperty() {