diff --git a/Aaru.Generators/SwapEndianGenerator.cs b/Aaru.Generators/SwapEndianGenerator.cs index a6d50e929..2a3b8bcc5 100644 --- a/Aaru.Generators/SwapEndianGenerator.cs +++ b/Aaru.Generators/SwapEndianGenerator.cs @@ -361,6 +361,9 @@ public class SwapEndianGenerator : IIncrementalGenerator "byte" or "Byte" or "sbyte" or "SByte" => $" // {fieldName} - no swap needed for byte types", + "string" or "String" => + $" // {fieldName} - no swap needed for string types", + "Guid" => $" // TODO: Implement GUID swap for {fieldName}", @@ -423,6 +426,9 @@ public class SwapEndianGenerator : IIncrementalGenerator "byte" or "System.Byte" or "sbyte" or "System.SByte" => $" // {fieldName} - no swap needed for byte types", + "string" or "System.String" => + $" // {fieldName} - no swap needed for string types", + _ => null }; @@ -608,4 +614,5 @@ public class SwapEndianGenerator : IIncrementalGenerator return value; } """; -} \ No newline at end of file +} +