EnumeratorCancellationAttribute.cs 447 B

123456789101112131415
  1. #if !BCL_HAS_ENUMERATOR_CANCELLATION
  2. // Licensed to the .NET Foundation under one or more agreements.
  3. // The .NET Foundation licenses this file to you under the MIT license.
  4. // See the LICENSE file in the project root for more information.
  5. namespace System.Runtime.CompilerServices
  6. {
  7. [AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
  8. public sealed class EnumeratorCancellationAttribute : Attribute
  9. {
  10. }
  11. }
  12. #endif