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,19 @@
using System.Runtime.CompilerServices;
namespace Bunifu.Licensing.Compatibility
{
// This class ensures that all compatibility types are properly imported
internal static class StringImports
{
// Method to reference the types so they are included in compilation
internal static void ReferenceStringHandlerTypes()
{
#if NETFRAMEWORK || NET5_0 || NET5_0_OR_NETFRAMEWORK
var handler = new DefaultInterpolatedStringHandler(10, 2);
handler.AppendLiteral("Test");
handler.AppendFormatted("value");
var result = handler.ToStringAndClear();
#endif
}
}
}