IEnumerable.cs 648 B

12345678910111213141516171819
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. using System.Runtime.InteropServices;
  5. namespace System.Collections
  6. {
  7. #if !PROJECTN // Hitting a bug in MCG, see VSO:743654
  8. [Guid("496B0ABE-CDEE-11d3-88E8-00902754C43A")]
  9. [ComVisible(true)]
  10. #endif
  11. public interface IEnumerable
  12. {
  13. // Returns an IEnumerator for this enumerable Object. The enumerator provides
  14. // a simple way to access all the contents of a collection.
  15. IEnumerator GetEnumerator();
  16. }
  17. }