File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Internal Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1228,7 +1228,7 @@ internal TypeDefinitionHandle FindTypeContainingEvent(int eventRowId, int number
1228
1228
{
1229
1229
if ( eventRowId <= numberOfEvents )
1230
1230
{
1231
- return TypeDefinitionHandle . FromRowId ( numOfRows ) ;
1231
+ return GetParentType ( numOfRows ) ;
1232
1232
}
1233
1233
1234
1234
return default ( TypeDefinitionHandle ) ;
@@ -1252,7 +1252,7 @@ internal TypeDefinitionHandle FindTypeContainingEvent(int eventRowId, int number
1252
1252
}
1253
1253
}
1254
1254
1255
- return TypeDefinitionHandle . FromRowId ( row ) ;
1255
+ return GetParentType ( row ) ;
1256
1256
}
1257
1257
}
1258
1258
@@ -1399,7 +1399,7 @@ internal TypeDefinitionHandle FindTypeContainingProperty(int propertyRowId, int
1399
1399
{
1400
1400
if ( propertyRowId <= numberOfProperties )
1401
1401
{
1402
- return TypeDefinitionHandle . FromRowId ( numOfRows ) ;
1402
+ return GetParentType ( numOfRows ) ;
1403
1403
}
1404
1404
1405
1405
return default ( TypeDefinitionHandle ) ;
@@ -1423,7 +1423,7 @@ internal TypeDefinitionHandle FindTypeContainingProperty(int propertyRowId, int
1423
1423
}
1424
1424
}
1425
1425
1426
- return TypeDefinitionHandle . FromRowId ( row ) ;
1426
+ return GetParentType ( row ) ;
1427
1427
}
1428
1428
}
1429
1429
You can’t perform that action at this time.
0 commit comments