File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -30,27 +30,6 @@ public void ChangeEnum(EnumDescription @enum)
3030 GetParentContainer ( ) ? . ChildHasChanged ( this ) ;
3131 }
3232
33- /// <summary>
34- /// Gets the underlaying node for the enum field.
35- /// </summary>
36- /// <returns></returns>
37- public BaseNumericNode GetUnderlayingNode ( )
38- {
39- switch ( Enum . Size )
40- {
41- case EnumDescription . UnderlyingTypeSize . OneByte :
42- return new UInt8Node ( ) ;
43- case EnumDescription . UnderlyingTypeSize . TwoBytes :
44- return new UInt16Node ( ) ;
45- case EnumDescription . UnderlyingTypeSize . FourBytes :
46- return new UInt32Node ( ) ;
47- case EnumDescription . UnderlyingTypeSize . EightBytes :
48- return new UInt64Node ( ) ;
49- }
50-
51- throw new Exception ( ) ; // TODO
52- }
53-
5433 private string GetTextRepresentation ( MemoryBuffer memory )
5534 {
5635 return Enum . UseFlagsMode ? GetFlagsStringRepresentation ( memory ) : GetStringRepresentation ( memory ) ;
You can’t perform that action at this time.
0 commit comments