mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-27 12:53:14 +00:00
d13488f517
Adds bigendian float/double logic
16 lines
604 B
C#
16 lines
604 B
C#
#if !NET6
|
|
namespace System.Diagnostics.CodeAnalysis;
|
|
|
|
[AttributeUsage(AttributeTargets.Parameter)]
|
|
internal sealed class NotNullWhenAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes the attribute with the specified return value condition.</summary>
|
|
/// <param name="returnValue">
|
|
/// The return value condition. If the method returns this value, the associated parameter will not be null.
|
|
/// </param>
|
|
public NotNullWhenAttribute(bool returnValue) => ReturnValue = returnValue;
|
|
|
|
/// <summary>Gets the return value condition.</summary>
|
|
public bool ReturnValue { get; }
|
|
}
|
|
#endif
|