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