#if !NETSTANDARD2_1
using System;
/*https://github.com/i3arnon/ConcurrentHashSet*/
namespace ZeroLevel.Models
{
namespace System.Diagnostics.CodeAnalysis
{
/// Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it.
[AttributeUsage(AttributeTargets.Parameter)]
internal sealed class MaybeNullWhenAttribute : Attribute
{
/// Initializes the attribute with the specified return value condition.
///
/// The return value condition. If the method returns this value, the associated parameter may be null.
///
public MaybeNullWhenAttribute(bool returnValue) => ReturnValue = returnValue;
/// Gets the return value condition.
public bool ReturnValue { get; }
}
}
}
#endif