Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Revert all Concat-related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesqo committed Jan 30, 2017
1 parent c3f4d97 commit c5bc5b3
Show file tree
Hide file tree
Showing 2 changed files with 352 additions and 244 deletions.
9 changes: 0 additions & 9 deletions src/Common/src/System/Collections/Generic/ArrayBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ public void Add(T item)
UncheckedAdd(item);
}

/// <summary>
/// Gets the only item in this builder.
/// </summary>
public T Single()
{
Debug.Assert(_count == 1);
return _array[0];
}

/// <summary>
/// Creates an array from the contents of this builder.
/// </summary>
Expand Down
Loading

0 comments on commit c5bc5b3

Please sign in to comment.