Skip to content

Commit 613b19c

Browse files
committed
Removed unused method.
1 parent a94d601 commit 613b19c

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

ReClass.NET/Nodes/EnumNode.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)