diff --git a/ArchUnitNET/Loader/ArchBuilder.cs b/ArchUnitNET/Loader/ArchBuilder.cs index ce24e6fd..a1f4c3e9 100644 --- a/ArchUnitNET/Loader/ArchBuilder.cs +++ b/ArchUnitNET/Loader/ArchBuilder.cs @@ -44,7 +44,7 @@ public ArchBuilder() _architectureCache = ArchitectureCache.Instance; } - public IEnumerable Types => _architectureTypes.Select(pair => pair.Value); + public IEnumerable Types => _architectureTypes.Values; public IEnumerable Assemblies => _assemblyRegistry.Assemblies; public IEnumerable Namespaces => _namespaceRegistry.Namespaces;