Address warnings in code I wrote

This commit is contained in:
Matt Nadareski
2021-01-15 13:06:17 -08:00
parent 32d1c59d64
commit cb947fdf51
5 changed files with 6 additions and 10 deletions

View File

@@ -12,8 +12,8 @@ namespace SabreTools.Core
/// <summary>
/// The current toolset version to be used by all child applications
/// </summary>
public readonly static string Version = $"v1.0.7";
//public readonly static string Version = $"v1.0.7-{File.GetCreationTime(Assembly.GetExecutingAssembly().Location):yyyy-MM-dd HH:mm:ss}";
//public readonly static string Version = $"v1.0.7";
public readonly static string Version = $"v1.0.7-{File.GetCreationTime(Assembly.GetExecutingAssembly().Location):yyyy-MM-dd HH:mm:ss}";
/// <summary>
/// Readies the console and outputs the header

View File

@@ -88,9 +88,9 @@ namespace SabreTools.Core.Tools
}
/// <summary>
/// Finalize the internal hash algorigthm
/// Terminate the internal hash algorigthm
/// </summary>
public void Finalize()
public void Terminate()
{
byte[] emptyBuffer = new byte[0];
switch (HashType)