diff --git a/SabreTools.DatFiles/DatFile.cs b/SabreTools.DatFiles/DatFile.cs
index 40aa9493..8056a51e 100644
--- a/SabreTools.DatFiles/DatFile.cs
+++ b/SabreTools.DatFiles/DatFile.cs
@@ -196,7 +196,7 @@ namespace SabreTools.DatFiles
/// DatItem to update
/// True if the Quotes flag should be ignored, false otherwise
/// True if the UseRomName should be always on, false otherwise
- protected void ProcessItemName(DatItem item, Machine? machine, bool forceRemoveQuotes, bool forceRomName)
+ protected internal void ProcessItemName(DatItem item, Machine? machine, bool forceRemoveQuotes, bool forceRomName)
{
// Get the relevant processing values
bool quotes = forceRemoveQuotes ? false : Header.GetBoolFieldValue(DatHeader.QuotesKey) ?? false;
@@ -290,7 +290,7 @@ namespace SabreTools.DatFiles
/// Machine to get information from
/// Prefix or postfix pattern to populate
/// Sanitized string representing the postfix or prefix
- protected static string FormatPrefixPostfix(DatItem item, Machine? machine, string fix)
+ protected internal static string FormatPrefixPostfix(DatItem item, Machine? machine, string fix)
{
// Initialize strings
string? type = item.GetStringFieldValue(Models.Metadata.DatItem.TypeKey);
@@ -372,7 +372,7 @@ namespace SabreTools.DatFiles
///
/// DatItem to check for "null" status
/// Cleaned DatItem
- protected DatItem ProcessNullifiedItem(DatItem item)
+ protected internal DatItem ProcessNullifiedItem(DatItem item)
{
// If we don't have a Rom, we can ignore it
if (item is not Rom rom)
@@ -416,7 +416,7 @@ namespace SabreTools.DatFiles
///
/// List of missing required fields, null or empty if none were found
/// TODO: Can this be made into a thin wrapper around a RequiredFields Dictionary property?
- protected virtual List? GetMissingRequiredFields(DatItem datItem) => null;
+ protected internal virtual List? GetMissingRequiredFields(DatItem datItem) => null;
///
/// Get if a machine contains any writable items
@@ -424,7 +424,7 @@ namespace SabreTools.DatFiles
/// DatItems to check
/// True if the machine contains at least one writable item, false otherwise
/// Empty machines are kept with this
- protected bool ContainsWritable(List datItems)
+ protected internal bool ContainsWritable(List datItems)
{
// Empty machines are considered writable
if (datItems == null || datItems.Count == 0)
@@ -445,7 +445,7 @@ namespace SabreTools.DatFiles
///
/// List of DatItem objects representing the items to be merged
/// A List of DatItem objects representing the renamed items
- protected List ResolveNames(List items)
+ protected internal List ResolveNames(List items)
{
// Create the output list
List output = [];
@@ -540,7 +540,7 @@ namespace SabreTools.DatFiles
///
/// List of item ID to DatItem mappings representing the items to be merged
/// A List of DatItem objects representing the renamed items
- protected List> ResolveNamesDB(List> mappings)
+ protected internal List> ResolveNamesDB(List> mappings)
{
// Create the output dict
List> output = [];
@@ -633,7 +633,7 @@ namespace SabreTools.DatFiles
/// DatItem to check
/// True if blank roms should be skipped on output, false otherwise
/// True if the item should be skipped on write, false otherwise
- protected bool ShouldIgnore(DatItem? datItem, bool ignoreBlanks)
+ protected internal bool ShouldIgnore(DatItem? datItem, bool ignoreBlanks)
{
// If this is invoked with a null DatItem, we ignore
if (datItem == null)