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

Castle.DynamicProxy.Serialization.CacheMappingsAttribute

Applied to the assemblies saved by ModuleScope in order to persist the cache data included in the persisted assembly.
public byte[] SerializedCacheMappings { get; }

public CacheMappingsAttribute(byte[] serializedCacheMappings)

public static void ApplyTo(AssemblyBuilder assemblyBuilder, Dictionary<CacheKey, string> mappings)