1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 03:27:04 +09:00

fixes after rebase for 8.0

This commit is contained in:
vsadov 2024-05-02 11:04:34 -07:00
parent 316f273538
commit afa1c01728
3 changed files with 273 additions and 529 deletions

View file

@ -764,7 +764,7 @@ namespace System.Collections.Concurrent
// prev value is null or dead.
// let's try install new value
newValObj = newValObj ?? ToObjectValue(result = valueFactory(key));
newValObj ??= ToObjectValue(result = valueFactory(key));
while (true)
{
Debug.Assert(!(entryValue is Prime));

View file

@ -44,6 +44,7 @@ namespace System.Collections.Concurrent.Tests
protected override string CreateTValue(int seed) => CreateTKey(seed);
[ActiveIssue("Satori: tests implementation details")]
[Theory]
[InlineData(false)]
[InlineData(true)]