PKHeX/PKHeX.Core/Util/FrameworkUtil.cs
Kurt 6d030831ab Bump PKHeX.Core to C#9 language version
Add FrameworkUtil.cs which is compiled if the build isn't net5+, needed to support init setters & records
2020-12-21 16:52:11 -08:00

21 lines
504 B
C#

#if !NET5
#pragma warning disable
// ReSharper disable once UnusedType.Global
namespace System.Runtime.CompilerServices
{
using Diagnostics;
using Diagnostics.CodeAnalysis;
/// <summary>
/// Reserved to be used by the compiler for tracking metadata.
/// This class should not be used by developers in source code.
/// </summary>
[ExcludeFromCodeCoverage, DebuggerNonUserCode]
#endif
internal static class IsExternalInit
{
}
}
#pragma warning restore