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)
307
307
308
308
private string PrintSignatureForType ( TypeReference type )
309
309
{
310
+ if ( type . MetadataType == MetadataType . IntPtr )
311
+ {
312
+ return "I" ;
313
+ }
314
+
315
+ if ( type . MetadataType == MetadataType . UIntPtr )
316
+ {
317
+ return "U" ;
318
+ }
319
+
310
320
nanoCLR_DataType dataType ;
311
321
if ( nanoSignaturesTable . PrimitiveTypes . TryGetValue ( type . FullName , out dataType ) )
312
322
{
@@ -363,15 +373,6 @@ private string PrintSignatureForType(TypeReference type)
363
373
return arraySig . ToString ( ) ;
364
374
}
365
375
366
- if ( type . MetadataType == MetadataType . IntPtr )
367
- {
368
- return "I" ;
369
- }
370
-
371
- if ( type . MetadataType == MetadataType . UIntPtr )
372
- {
373
- return "U" ;
374
- }
375
376
376
377
return "" ;
377
378
}
You can’t perform that action at this time.
0 commit comments