C#: Add params modifier on override

This commit is contained in:
Tamas Vajk
2020-10-05 14:02:16 +02:00
parent 63e173198d
commit 8afac25120

View File

@@ -29,9 +29,9 @@ namespace Semmle.Util
}
}
public override void WriteLine(string? value, object?[] args)
public override void WriteLine(string? format, params object?[] args)
{
WriteLine(value is null ? value : String.Format(value, args));
WriteLine(format is null ? format : String.Format(format, args));
}
private readonly object mutex = new object();