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:
parent
316f273538
commit
afa1c01728
3 changed files with 273 additions and 529 deletions
File diff suppressed because it is too large
Load diff
|
@ -764,7 +764,7 @@ namespace System.Collections.Concurrent
|
||||||
|
|
||||||
// prev value is null or dead.
|
// prev value is null or dead.
|
||||||
// let's try install new value
|
// let's try install new value
|
||||||
newValObj = newValObj ?? ToObjectValue(result = valueFactory(key));
|
newValObj ??= ToObjectValue(result = valueFactory(key));
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
Debug.Assert(!(entryValue is Prime));
|
Debug.Assert(!(entryValue is Prime));
|
||||||
|
|
|
@ -44,6 +44,7 @@ namespace System.Collections.Concurrent.Tests
|
||||||
|
|
||||||
protected override string CreateTValue(int seed) => CreateTKey(seed);
|
protected override string CreateTValue(int seed) => CreateTKey(seed);
|
||||||
|
|
||||||
|
[ActiveIssue("Satori: tests implementation details")]
|
||||||
[Theory]
|
[Theory]
|
||||||
[InlineData(false)]
|
[InlineData(false)]
|
||||||
[InlineData(true)]
|
[InlineData(true)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue