Performance issue solved (#1096)

This commit is contained in:
Jaime Finat Sáez 2022-11-30 18:13:31 +01:00 committed by GitHub
parent 83982347f6
commit 4258cbfb85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ public sealed class TableRowCollection : IReadOnlyList<TableRow>
{
var row = CreateRow(columns);
_list.Add(row);
return _list.IndexOf(row);
return _list.Count - 1;
}
}