1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2025-04-25 20:15:43 +02:00
.NET-Community-Toolkit/Microsoft.Toolkit/Attributes/DoesNotReturnAttribute.cs
2020-07-16 02:21:11 +02:00

19 lines
608 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#if !NETSTANDARD2_1
namespace System.Diagnostics.CodeAnalysis
{
/// <summary>
/// Applied to a method that will never return under any circumstance.
/// </summary>
/// <remarks>Internal copy of the .NET Standard 2.1 attribute.</remarks>
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
internal sealed class DoesNotReturnAttribute : Attribute
{
}
}
#endif