Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ public bool TryGetNonEnumeratedCount(out int count)

public bool TryGetSpan(out ReadOnlySpan<T> span)
{
#if UNITY_2022_1_OR_NEWER
#if UNITY_6000_5_OR_NEWER
span = source.AsReadOnlySpan();
return true;
#elif UNITY_2022_1_OR_NEWER
span = source;
return true;
#else
Expand Down