IRefCountList.cs 433 B

12345678910111213141516171819
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the Apache 2.0 License.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System.Linq
  5. {
  6. internal interface IRefCountList<T>
  7. {
  8. void Clear();
  9. int Count { get; }
  10. T this[int i] { get; }
  11. void Add(T item);
  12. void Done(int index);
  13. }
  14. }