Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryCastToImmutableSortedSet()

static bool System.Collections.Immutable.ImmutableSortedSet< T >.TryCastToImmutableSortedSet ( IEnumerable< T > sequence,
[NotNullWhen(true)] out ImmutableSortedSet< T > other )
inlinestaticprivate

Definition at line 1423 of file ImmutableSortedSet.cs.

1424 {
1426 if (other != null)
1427 {
1428 return true;
1429 }
1430 if (sequence is Builder builder)
1431 {
1432 other = builder.ToImmutable();
1433 return true;
1434 }
1435 return false;
1436 }

References System.other.

Referenced by System.Collections.Immutable.ImmutableSortedSet< T >.Union().