Add source

This commit is contained in:
hexadecimal
2025-04-24 20:51:29 +03:00
parent 9badc969b8
commit e3c1cdea0e
92 changed files with 13471 additions and 0 deletions
@@ -0,0 +1,28 @@
#if NETFRAMEWORK && !NET5_0_OR_GREATER
using System;
namespace System.Runtime.Versioning
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class TargetPlatformAttribute : Attribute
{
public TargetPlatformAttribute(string targetPlatformName)
{
PlatformName = targetPlatformName;
}
public string PlatformName { get; }
}
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class SupportedOSPlatformAttribute : Attribute
{
public SupportedOSPlatformAttribute(string platformName)
{
PlatformName = platformName;
}
public string PlatformName { get; }
}
}
#endif