diff --git a/.global.editorconfig.ini b/.global.editorconfig.ini index ec5b7b95ca..67fc9ccc1d 100644 --- a/.global.editorconfig.ini +++ b/.global.editorconfig.ini @@ -460,6 +460,8 @@ dotnet_diagnostic.RCS1194.severity = silent dotnet_diagnostic.RCS1195.severity = warning # Make method an extension method dotnet_diagnostic.RCS1224.severity = warning +# Add paragraph to documentation comment +dotnet_diagnostic.RCS1226.severity = warning # Do not pass non-read-only struct by read-only reference dotnet_diagnostic.RCS1242.severity = silent diff --git a/src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj b/src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj index 7af8c6ee58..f6c4950f4e 100644 --- a/src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj +++ b/src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj @@ -5,7 +5,7 @@ true - $(NoWarn);BHI1104;CA1806;CA1825;CA2214;MA0060;MA0084;MA0090;MA0140;MEN018;RCS1215;RS0030;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400;SA1413;SA1514;SA1517 + $(NoWarn);BHI1104;CA1806;CA1825;CA2214;MA0060;MA0084;MA0090;MA0140;MEN018;RCS1215;RCS1226;RS0030;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400;SA1413;SA1514;SA1517 disable diff --git a/src/BizHawk.Emulation.DiscSystem/DiscStream.cs b/src/BizHawk.Emulation.DiscSystem/DiscStream.cs index 842279707c..4fe57844ce 100644 --- a/src/BizHawk.Emulation.DiscSystem/DiscStream.cs +++ b/src/BizHawk.Emulation.DiscSystem/DiscStream.cs @@ -33,6 +33,7 @@ namespace BizHawk.Emulation.DiscSystem DiscStreamView_Mode2_Form2_2324, } +#pragma warning disable RCS1226 // bad formatting /// /// Allows you to stream data off a disc. /// For future work: depending on the View you select, it may not be seekable (in other words, it would need to read sequentially) @@ -48,6 +49,7 @@ namespace BizHawk.Emulation.DiscSystem /// TODO - Receive some information about the track that this stream is modeling, and have the stream return EOF at the end of the track? /// public class DiscStream : System.IO.Stream +#pragma warning restore RCS1226 { private readonly int SectorSize; private readonly int NumSectors; diff --git a/src/BizHawk.Emulation.DiscSystem/DiscoHawkLogic/DiscoHawkLogic.cs b/src/BizHawk.Emulation.DiscSystem/DiscoHawkLogic/DiscoHawkLogic.cs index 82787a2e25..091da63d46 100644 --- a/src/BizHawk.Emulation.DiscSystem/DiscoHawkLogic/DiscoHawkLogic.cs +++ b/src/BizHawk.Emulation.DiscSystem/DiscoHawkLogic/DiscoHawkLogic.cs @@ -7,6 +7,7 @@ using BizHawk.Common.PathExtensions; namespace BizHawk.Emulation.DiscSystem { +#pragma warning disable RCS1226 // bad formatting /// /// cue format preferences notes /// @@ -16,6 +17,7 @@ namespace BizHawk.Emulation.DiscSystem /// it seems not to be able to handle binpertrack, or maybe i am doing something wrong (still haven't ruled it out) /// public static class DiscoHawkLogic +#pragma warning restore RCS1226 { private static bool CompareFile(string infile, DiscInterface loadDiscInterface, DiscInterface cmpif, bool verbose, CancellationTokenSource cancelToken, StringWriter sw) {