Module: PEdump::CLR::DynTableMethods
- Defined in:
- lib/pedump/clr.rb
Instance Method Summary collapse
Instance Method Details
#get_name(strings) ⇒ Object
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
# File 'lib/pedump/clr.rb', line 229 def get_name(strings) h = self.to_h if h[:TypeNamespace] || h[:TypeName] if h[:TypeNamespace] != 0 "#{strings[h[:TypeNamespace]]}.#{strings[h[:TypeName]]}" else strings[h[:TypeName]] end elsif h[:Name] strings[h[:Name]] elsif h[:ImportName] strings[h[:ImportName]] else nil end end |