1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Change Debug.Write to take Span<Object> params instead of Object[]

This commit is contained in:
Brian Fiete 2024-03-01 14:11:10 -05:00
parent 1550fc2444
commit 5387313269

View file

@ -51,7 +51,7 @@ namespace System.Diagnostics
Write(sv.[Friend]mPtr, sv.[Friend]mLength); Write(sv.[Friend]mPtr, sv.[Friend]mLength);
} }
public static void Write(String fmt, params Object[] args) public static void Write(String fmt, params Span<Object> args)
{ {
String str = scope String(4096); String str = scope String(4096);
str.AppendF(fmt, params args); str.AppendF(fmt, params args);