Creates a System.Collections.ObjectModel.ReadOnlyCollection`1 containing all of the elements of the System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1, avoiding copying the elements to the new array if possible. Resets the System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1 after the System.Collections.ObjectModel.ReadOnlyCollection`1 has been created.
A new instance of System.Collections.ObjectModel.ReadOnlyCollection`1.