diff --git a/SabreTools.Reports/Formats/Html.cs b/SabreTools.Reports/Formats/Html.cs index de8bb03a..379d564d 100644 --- a/SabreTools.Reports/Formats/Html.cs +++ b/SabreTools.Reports/Formats/Html.cs @@ -105,7 +105,7 @@ namespace SabreTools.Reports.Formats /// XmlTextWriter to write to /// True if baddumps should be included in output, false otherwise /// True if nodumps should be included in output, false otherwise - private void WriteHeader(XmlTextWriter xtw, bool baddumpCol, bool nodumpCol) + private static void WriteHeader(XmlTextWriter xtw, bool baddumpCol, bool nodumpCol) { xtw.WriteDocType("html", null, null, null); xtw.WriteStartElement("html"); @@ -141,7 +141,7 @@ body { /// XmlTextWriter to write to /// True if baddumps should be included in output, false otherwise /// True if nodumps should be included in output, false otherwise - private void WriteMidHeader(XmlTextWriter xtw, bool baddumpCol, bool nodumpCol) + private static void WriteMidHeader(XmlTextWriter xtw, bool baddumpCol, bool nodumpCol) { xtw.WriteStartElement("tr"); xtw.WriteAttributeString("bgcolor", "gray"); @@ -215,7 +215,7 @@ body { /// DatStatistics object to write out /// True if baddumps should be included in output, false otherwise /// True if nodumps should be included in output, false otherwise - private void WriteIndividual(XmlTextWriter xtw, DatStatistics stat, bool baddumpCol, bool nodumpCol) + private static void WriteIndividual(XmlTextWriter xtw, DatStatistics stat, bool baddumpCol, bool nodumpCol) { bool isDirectory = stat.DisplayName!.StartsWith("DIR: "); @@ -295,7 +295,7 @@ body { /// XmlTextWriter to write to /// True if baddumps should be included in output, false otherwise /// True if nodumps should be included in output, false otherwise - private void WriteMidSeparator(XmlTextWriter xtw, bool baddumpCol, bool nodumpCol) + private static void WriteMidSeparator(XmlTextWriter xtw, bool baddumpCol, bool nodumpCol) { xtw.WriteStartElement("tr"); @@ -313,7 +313,7 @@ body { /// XmlTextWriter to write to /// True if baddumps should be included in output, false otherwise /// True if nodumps should be included in output, false otherwise - private void WriteFooterSeparator(XmlTextWriter xtw, bool baddumpCol, bool nodumpCol) + private static void WriteFooterSeparator(XmlTextWriter xtw, bool baddumpCol, bool nodumpCol) { xtw.WriteStartElement("tr"); xtw.WriteAttributeString("border", "0"); @@ -330,7 +330,7 @@ body { /// Write out the footer to the stream, if any exists /// /// XmlTextWriter to write to - private void WriteFooter(XmlTextWriter xtw) + private static void WriteFooter(XmlTextWriter xtw) { xtw.WriteEndElement(); // table xtw.WriteEndElement(); // body diff --git a/SabreTools.Reports/Formats/SeparatedValue.cs b/SabreTools.Reports/Formats/SeparatedValue.cs index c8777bfb..53fab06c 100644 --- a/SabreTools.Reports/Formats/SeparatedValue.cs +++ b/SabreTools.Reports/Formats/SeparatedValue.cs @@ -96,7 +96,7 @@ namespace SabreTools.Reports.Formats /// SeparatedValueWriter to write to /// True if baddumps should be included in output, false otherwise /// True if nodumps should be included in output, false otherwise - private void WriteHeader(SeparatedValueWriter svw, bool baddumpCol, bool nodumpCol) + private static void WriteHeader(SeparatedValueWriter svw, bool baddumpCol, bool nodumpCol) { string[] headers = [ @@ -125,7 +125,7 @@ namespace SabreTools.Reports.Formats /// DatStatistics object to write out /// True if baddumps should be included in output, false otherwise /// True if nodumps should be included in output, false otherwise - private void WriteIndividual(SeparatedValueWriter svw, DatStatistics stat, bool baddumpCol, bool nodumpCol) + private static void WriteIndividual(SeparatedValueWriter svw, DatStatistics stat, bool baddumpCol, bool nodumpCol) { string[] values = [ @@ -151,7 +151,7 @@ namespace SabreTools.Reports.Formats /// Write out the footer-separator to the stream, if any exists /// /// SeparatedValueWriter to write to - private void WriteFooterSeparator(SeparatedValueWriter svw) + private static void WriteFooterSeparator(SeparatedValueWriter svw) { svw.WriteString("\n"); svw.Flush(); diff --git a/SabreTools.Reports/Formats/Textfile.cs b/SabreTools.Reports/Formats/Textfile.cs index c2854713..3e1e661c 100644 --- a/SabreTools.Reports/Formats/Textfile.cs +++ b/SabreTools.Reports/Formats/Textfile.cs @@ -87,7 +87,7 @@ namespace SabreTools.Reports.Formats /// DatStatistics object to write out /// True if baddumps should be included in output, false otherwise /// True if nodumps should be included in output, false otherwise - private void WriteIndividual(StreamWriter sw, DatStatistics stat, bool baddumpCol, bool nodumpCol) + private static void WriteIndividual(StreamWriter sw, DatStatistics stat, bool baddumpCol, bool nodumpCol) { string line = @"'" + stat.DisplayName + @"': -------------------------------------------------- @@ -119,7 +119,7 @@ namespace SabreTools.Reports.Formats /// Write out the footer-separator to the stream, if any exists /// /// StreamWriter to write to - private void WriteFooterSeparator(StreamWriter sw) + private static void WriteFooterSeparator(StreamWriter sw) { sw.Write("\n"); sw.Flush();