From aca11571c51440c97ddcc1b2189cbb6cc5f5945d Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Wed, 14 Dec 2022 21:21:49 +0000 Subject: [PATCH] Fix generator for inherited interfaces. --- Aaru.Generators/PluginRegisterGenerator.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Aaru.Generators/PluginRegisterGenerator.cs b/Aaru.Generators/PluginRegisterGenerator.cs index 11c0f883e..c9ff74c4c 100644 --- a/Aaru.Generators/PluginRegisterGenerator.cs +++ b/Aaru.Generators/PluginRegisterGenerator.cs @@ -349,6 +349,9 @@ public class PluginRegisterGenerator : ISourceGenerator if(plugin.BaseList?.Types.Any(t => ((t as SimpleBaseTypeSyntax)?.Type as IdentifierNameSyntax)?.Identifier. ValueText == "IByteAddressableImage") == true) ByteAddressableImagePlugins.Add(plugin); + + MediaImagePlugins.AddRange(WritableImagePlugins); + FileSystems.AddRange(ReadOnlyFileSystems); } } } \ No newline at end of file