1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Deprecating StackStringFormat

This commit is contained in:
Brian Fiete 2024-12-31 14:15:12 -08:00
parent 1484a5f53c
commit 6e1eaf63e8
15 changed files with 61 additions and 58 deletions

View file

@ -108,6 +108,7 @@ static
str.AppendF(format, args);
}*/
[Warn("StackStringFormat has been deprecated and will be removed in the future. Consider switching to string interpolation or 'scope:: String()..AppendF'.")]
public static mixin StackStringFormat(String format, var arg1)
{
var str = scope:: String();
@ -115,6 +116,7 @@ static
str
}
[Warn("StackStringFormat has been deprecated and will be removed in the future. Consider switching to string interpolation or 'scope:: String()..AppendF'.")]
public static mixin StackStringFormat(String format, var arg1, var arg2)
{
var str = scope:: String();
@ -122,6 +124,7 @@ static
str
}
[Warn("StackStringFormat has been deprecated and will be removed in the future. Consider switching to string interpolation or 'scope:: String()..AppendF'.")]
public static mixin StackStringFormat(String format, var arg1, var arg2, var arg3)
{
var str = scope:: String();