@@ -1562,7 +1562,7 @@ reflection_instance_handle_mono_type (MonoReflectionGenericClassHandle ref_gclas
1562
1562
MonoType * result = NULL ;
1563
1563
MonoType * * types = NULL ;
1564
1564
1565
- MonoArrayHandle typeargs = MONO_HANDLE_NEW_GET (MonoArray , ref_gclass , _typeArguments );
1565
+ MonoArrayHandle typeargs = MONO_HANDLE_NEW_GET (MonoArray , ref_gclass , type_arguments );
1566
1566
int count = GUINTPTR_TO_INT (mono_array_handle_length (typeargs ));
1567
1567
types = g_new0 (MonoType * , count );
1568
1568
MonoReflectionTypeHandle t = MONO_HANDLE_NEW (MonoReflectionType , NULL );
@@ -1573,9 +1573,9 @@ reflection_instance_handle_mono_type (MonoReflectionGenericClassHandle ref_gclas
1573
1573
goto leave ;
1574
1574
}
1575
1575
}
1576
- /* Need to resolve the _genericType in order for it to create its generic context. */
1576
+ /* Need to resolve the generic_type in order for it to create its generic context. */
1577
1577
MonoReflectionTypeHandle ref_gtd ;
1578
- ref_gtd = MONO_HANDLE_NEW_GET (MonoReflectionType , ref_gclass , _genericType );
1578
+ ref_gtd = MONO_HANDLE_NEW_GET (MonoReflectionType , ref_gclass , generic_type );
1579
1579
MonoType * gtd ;
1580
1580
gtd = mono_reflection_type_handle_mono_type (ref_gtd , error );
1581
1581
goto_if_nok (error , leave );
@@ -1697,26 +1697,26 @@ mono_reflection_type_handle_mono_type (MonoReflectionTypeHandle ref, MonoError *
1697
1697
1698
1698
if (is_sre_symboltype (klass )) {
1699
1699
MonoReflectionSymbolTypeHandle sre_symbol = MONO_HANDLE_CAST (MonoReflectionSymbolType , ref );
1700
- MonoReflectionTypeHandle ref_element = MONO_HANDLE_NEW_GET (MonoReflectionType , sre_symbol , _baseType );
1700
+ MonoReflectionTypeHandle ref_element = MONO_HANDLE_NEW_GET (MonoReflectionType , sre_symbol , element_type );
1701
1701
MonoType * base = mono_reflection_type_handle_mono_type (ref_element , error );
1702
1702
goto_if_nok (error , leave );
1703
1703
g_assert (base );
1704
- uint8_t _typeKind = GINT32_TO_UINT8 (MONO_HANDLE_GETVAL (sre_symbol , _typeKind ));
1705
- switch (_typeKind )
1704
+ uint8_t type_kind = GINT32_TO_UINT8 (MONO_HANDLE_GETVAL (sre_symbol , type_kind ));
1705
+ switch (type_kind )
1706
1706
{
1707
1707
case 1 : {
1708
- uint8_t _rank = GINT32_TO_UINT8 (MONO_HANDLE_GETVAL (sre_symbol , _rank ));
1708
+ uint8_t rank = GINT32_TO_UINT8 (MONO_HANDLE_GETVAL (sre_symbol , rank ));
1709
1709
MonoClass * eclass = mono_class_from_mono_type_internal (base );
1710
1710
result = mono_image_new0 (eclass -> image , MonoType , 1 );
1711
- if (_rank == 0 ) {
1711
+ if (rank == 0 ) {
1712
1712
result -> type = MONO_TYPE_SZARRAY ;
1713
1713
result -> data .klass = eclass ;
1714
1714
} else {
1715
1715
MonoArrayType * at = (MonoArrayType * )mono_image_alloc0 (eclass -> image , sizeof (MonoArrayType ));
1716
1716
result -> type = MONO_TYPE_ARRAY ;
1717
1717
result -> data .array = at ;
1718
1718
at -> eklass = eclass ;
1719
- at -> rank = _rank ;
1719
+ at -> rank = rank ;
1720
1720
}
1721
1721
}
1722
1722
break ;
0 commit comments