#if !NET5
#pragma warning disable
// ReSharper disable once UnusedType.Global
namespace System.Runtime.CompilerServices
{
using Diagnostics;
using Diagnostics.CodeAnalysis;
///
/// Reserved to be used by the compiler for tracking metadata.
/// This class should not be used by developers in source code.
///
[ExcludeFromCodeCoverage, DebuggerNonUserCode]
internal static class IsExternalInit
{
}
}
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
internal sealed class NotNullWhenAttribute : Attribute
{
/// Initializes the attribute with the specified return value condition.
///
/// The return value condition. If the method returns this value, the associated parameter will not be null.
///
public NotNullWhenAttribute(bool returnValue) => ReturnValue = returnValue;
/// Gets the return value condition.
public bool ReturnValue { get; }
}
}
#pragma warning restore
#endif