File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
source/MetadataProcessor.Core Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,16 @@ private void DumpAssemblyReferences(DumpAllTable dumpTable)
307307
308308 private string PrintSignatureForType ( TypeReference type )
309309 {
310+ if ( type . MetadataType == MetadataType . IntPtr )
311+ {
312+ return "I" ;
313+ }
314+
315+ if ( type . MetadataType == MetadataType . UIntPtr )
316+ {
317+ return "U" ;
318+ }
319+
310320 nanoCLR_DataType dataType ;
311321 if ( nanoSignaturesTable . PrimitiveTypes . TryGetValue ( type . FullName , out dataType ) )
312322 {
@@ -363,15 +373,6 @@ private string PrintSignatureForType(TypeReference type)
363373 return arraySig . ToString ( ) ;
364374 }
365375
366- if ( type . MetadataType == MetadataType . IntPtr )
367- {
368- return "I" ;
369- }
370-
371- if ( type . MetadataType == MetadataType . UIntPtr )
372- {
373- return "U" ;
374- }
375376
376377 return "" ;
377378 }
You can’t perform that action at this time.
0 commit comments