Files
BunifuUiCrack/Bunifu.Licensing/Compatibility/StringImports.cs
T
hexadecimal e3c1cdea0e Add source
2025-04-24 20:51:29 +03:00

19 lines
643 B
C#

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
}
}
}