Enable SA1113 and fix noncompliance
"Comma should be on the same line as previous parameter"
This commit is contained in:
parent
b1e02fbdce
commit
b80dd2fab7
|
@ -138,8 +138,8 @@ namespace BizHawk.Client.Common
|
|||
sb
|
||||
.Append(file.Enabled ? "1" : "0")
|
||||
.Append(' ')
|
||||
.Append(PathManager.MakeRelativeTo(PathManager.MakeAbsolutePath(file.Path, "")
|
||||
, Path.GetDirectoryName(path)))
|
||||
.Append(PathManager.MakeRelativeTo(PathManager.MakeAbsolutePath(file.Path, ""),
|
||||
Path.GetDirectoryName(path)))
|
||||
.AppendLine();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2129,8 +2129,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
var message =
|
||||
$"Invalid file format. Reason: {ex.Message} \nForce transfer? This may cause the calculator to crash.";
|
||||
|
||||
if (MessageBox.Show(message, "Upload Failed", MessageBoxButtons.YesNoCancel
|
||||
, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
if (MessageBox.Show(message, "Upload Failed", MessageBoxButtons.YesNoCancel,
|
||||
MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
ti83.LinkPort.SendFileToCalc(File.OpenRead(ofd.FileName), false);
|
||||
}
|
||||
|
|
|
@ -92,9 +92,6 @@
|
|||
<!-- Closing parenthesis should be on line of last parameter -->
|
||||
<Rule Id="SA1111" Action="Hidden" />
|
||||
|
||||
<!-- Comma should be on the same line as previous parameter -->
|
||||
<Rule Id="SA1113" Action="Hidden" />
|
||||
|
||||
<!-- Parameter list should follow declaration -->
|
||||
<Rule Id="SA1114" Action="Hidden" />
|
||||
|
||||
|
|
Loading…
Reference in New Issue