File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1435,7 +1435,7 @@ private ref object GetValueRefOrNullRef(HeaderDescriptor key)
1435
1435
}
1436
1436
else if ( store is not null )
1437
1437
{
1438
- valueRef = ref CollectionsMarshal . GetValueRefOrNullRef ( Unsafe . As < Dictionary < HeaderDescriptor , object > > ( store ) , key ) ;
1438
+ valueRef = ref CollectionsMarshal . GetValueRefOrNullRef ( ( Dictionary < HeaderDescriptor , object > ) store , key ) ;
1439
1439
}
1440
1440
1441
1441
return ref valueRef ;
@@ -1580,7 +1580,7 @@ internal bool Remove(HeaderDescriptor key)
1580
1580
}
1581
1581
else if ( store is not null )
1582
1582
{
1583
- removed = Unsafe . As < Dictionary < HeaderDescriptor , object > > ( store ) . Remove ( key ) ;
1583
+ removed = ( ( Dictionary < HeaderDescriptor , object > ) store ) . Remove ( key ) ;
1584
1584
}
1585
1585
1586
1586
if ( removed )
You can’t perform that action at this time.
0 commit comments