<PackageReference Include="Castle.Core" Version="4.3.1" />

Castle.DynamicProxy.Serialization.CacheMappingsAttribute

Applied to the assemblies saved by ModuleScope in order to persist the cache data included in the persisted assembly.
namespace Castle.DynamicProxy.Serialization { public class CacheMappingsAttribute : Attribute { public byte[] SerializedCacheMappings { get; } public CacheMappingsAttribute(byte[] serializedCacheMappings); public Dictionary<CacheKey, string> GetDeserializedMappings(); public static void ApplyTo(AssemblyBuilder assemblyBuilder, Dictionary<CacheKey, string> mappings); } }