Enable Code Quality Rules
Enforces a variety of CAxxxx rules that do not have existing violations. For the benefit of dotnet_code_quality.CA2241.try_determine_additional_string_formatting_methods_automatically = true, rename parameters of methods that forward to string.Format so format issues will get detected automatically.
This commit is contained in:
@@ -66,9 +66,9 @@ namespace OpenRA
|
||||
AddTextNotification(TextNotificationPool.Chat, clientId, prefix, text, prefixColor, textColor);
|
||||
}
|
||||
|
||||
public static void Debug(string s, params object[] args)
|
||||
public static void Debug(string format, params object[] args)
|
||||
{
|
||||
AddSystemLine("Debug", string.Format(s, args));
|
||||
AddSystemLine("Debug", string.Format(format, args));
|
||||
}
|
||||
|
||||
static void AddTextNotification(TextNotificationPool pool, int clientId, string prefix, string text, Color? prefixColor = null, Color? textColor = null)
|
||||
|
||||
Reference in New Issue
Block a user