|
|
|
@ -2,7 +2,7 @@ import destruct
@@ -2,7 +2,7 @@ import destruct
|
|
|
|
|
|
|
|
|
|
from .util import cached_property |
|
|
|
|
from .common import CLIStreamType, CLIStreamIndex, CLITableType, CLITableIndex, CLITableRange, CLIToken, CLICodedToken |
|
|
|
|
from .tables import CLITypeClassSemantics |
|
|
|
|
from .tables import CLITypeClassSemantics, CLIAssemblyRefTable |
|
|
|
|
from .code import determine_header |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -246,6 +246,10 @@ class CLIClass(CLITableWrapper):
@@ -246,6 +246,10 @@ class CLIClass(CLITableWrapper):
|
|
|
|
|
@register_wrapper(CLITableType.Assembly) |
|
|
|
|
@register_wrapper(CLITableType.AssemblyRef) |
|
|
|
|
class CLIAssembly(CLITableWrapper): |
|
|
|
|
@property |
|
|
|
|
def external(self): |
|
|
|
|
return isinstance(self._raw, CLIAssemblyRefTable) |
|
|
|
|
|
|
|
|
|
def __repr__(self): |
|
|
|
|
return '<{}: {} (v{}.{}.{}.{})>'.format( |
|
|
|
|
self.__class__.__name__, self.name, |
|
|
|
|