Enable SA1517 and fix noncompliance (except in Cores)
"Code should not contain blank lines at start of file"
This commit is contained in:
parent
39b69641a6
commit
9a82dfd05f
|
@ -562,7 +562,7 @@ dotnet_diagnostic.SA1515.severity = silent
|
||||||
# Elements should be separated by blank line
|
# Elements should be separated by blank line
|
||||||
dotnet_diagnostic.SA1516.severity = silent
|
dotnet_diagnostic.SA1516.severity = silent
|
||||||
# Code should not contain blank lines at start of file
|
# Code should not contain blank lines at start of file
|
||||||
dotnet_diagnostic.SA1517.severity = silent
|
dotnet_diagnostic.SA1517.severity = warning
|
||||||
# Use line endings correctly at end of file
|
# Use line endings correctly at end of file
|
||||||
dotnet_diagnostic.SA1518.severity = silent
|
dotnet_diagnostic.SA1518.severity = silent
|
||||||
# Braces should not be omitted from multi-line child statement
|
# Braces should not be omitted from multi-line child statement
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace BizHawk.Emulation.Common
|
namespace BizHawk.Emulation.Common
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<Import Project="../MainSlnCommon.props" />
|
<Import Project="../MainSlnCommon.props" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<NoWarn>$(NoWarn);CA1806;CA1825;CA2214;MA0060;MA0084;MA0090;MA0140;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400;SA1514</NoWarn>
|
<NoWarn>$(NoWarn);CA1806;CA1825;CA2214;MA0060;MA0084;MA0090;MA0140;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400;SA1514;SA1517</NoWarn>
|
||||||
<Nullable>disable</Nullable>
|
<Nullable>disable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
namespace BizHawk.Emulation.DiscSystem
|
namespace BizHawk.Emulation.DiscSystem
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
|
|
||||||
|
|
||||||
//TODO - generate correct Q subchannel CRC
|
|
||||||
|
|
||||||
namespace BizHawk.Emulation.DiscSystem
|
namespace BizHawk.Emulation.DiscSystem
|
||||||
{
|
{
|
||||||
|
//TODO - generate correct Q subchannel CRC
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// generates lead-out sectors according to very crude approximations
|
/// generates lead-out sectors according to very crude approximations
|
||||||
|
|
Loading…
Reference in New Issue