Browse Source

tables: rename some enum members to their text CIL representation

master
Shiz 1 year ago
parent
commit
75afef1cac
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      dotnet/tables.py

+ 5
- 5
dotnet/tables.py View File

@ -44,7 +44,7 @@ TypeDefOrRef = CLICodedToken([
])
class CLITypeVisiblity(enum.Enum):
NotPublic = 0x0
Private = 0x0
Public = 0x1
NestedPublic = 0x2
NestedPrivate = 0x3
@ -54,9 +54,9 @@ class CLITypeVisiblity(enum.Enum):
NestedFamORAssem = 0x7
class CLITypeLayout(enum.Enum):
AutoLayout = 0x0
SequentialLayout = 0x8
ExplicitLayout = 0x10
Auto = 0x0
Sequential = 0x8
Explicit = 0x10
class CLITypeClassSemantics(enum.Enum):
Class = 0x0
@ -160,7 +160,7 @@ class CLIMethodAttributes(MultiEnum):
flags = (CLIMethodFlags, 0xFEF0)
class CLIMethodCodeType(enum.Enum):
IL = 0
CIL = 0
Native = 1
OPTIL = 2
Runtime = 3


Loading…
Cancel
Save