Skip to content

Commit 16791c1

Browse files
Update src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableArray_1.Builder.cs
Co-authored-by: Eirik Tsarpalis <[email protected]>
1 parent 5dd3de0 commit 16791c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableArray_1.Builder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ private void RemoveAtRange(ICollection<int> indicesToRemove)
10971097
}
10981098

10991099
/// <summary>Gets a <see cref="Memory{T}"/> for the filled portion of the backing array.</summary>
1100-
internal Memory<T> AsMemory() => new Memory<T>(_elements, 0, _count);
1100+
internal Memory<T> AsMemory() => new(_elements, 0, _count);
11011101
}
11021102
}
11031103
}

0 commit comments

Comments
 (0)