RCS0056 - roslynator_max_line_length = 160
This commit is contained in:
committed by
Matthias Mailänder
parent
9d5d2ab493
commit
0649f3dc32
@@ -68,7 +68,9 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
|
||||
static void WriteDiagnosticsDisabling()
|
||||
{
|
||||
Console.WriteLine("--- This file only lists function \"signatures\", causing Lua Diagnostics errors: \"Annotations specify that a return value is required here.\"");
|
||||
Console.WriteLine(
|
||||
"--- This file only lists function \"signatures\", causing Lua Diagnostics errors: " +
|
||||
"\"Annotations specify that a return value is required here.\"");
|
||||
Console.WriteLine("--- and Lua Diagnostics warnings \"Unused local\" for the functions' parameters.");
|
||||
Console.WriteLine("--- Disable those specific errors for the entire file.");
|
||||
Console.WriteLine("---@diagnostic disable: missing-return");
|
||||
@@ -341,7 +343,8 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
|
||||
if (requiredTraits.Length != 0)
|
||||
Console.WriteLine(
|
||||
$"{new string(' ', indentation * 4)}--- **Requires {(requiredTraits.Length == 1 ? "Trait" : "Traits")}:** {requiredTraits.Select(GetDocumentationUrl).JoinWith(", ")}");
|
||||
$"{new string(' ', indentation * 4)}--- **Requires {(requiredTraits.Length == 1 ? "Trait" : "Traits")}:** " +
|
||||
$"{requiredTraits.Select(GetDocumentationUrl).JoinWith(", ")}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user