| ZC0001 | Warning | Sliding = true combined with UseHybridCache = true — sliding TTL is silently ignored by the distributed (L2) tier |
| ZC0002 | Warning | A cache key parameter is a reference type (excluding string) — ToString() may not produce a stable unique key |
| ZC0003 | Error | UseHybridCache = true without a reference to Microsoft.Extensions.Caching.Hybrid — no proxy is generated for the interface |
| ZC0004 | Warning | Bounded methods on one interface set different MaxEntries values — they share one size-limited cache sized by the first bounded method |
| ZC0005 | Warning | [Cache] on a method that does not return Task<T> or ValueTask<T> — caching is not applied |
| ZC0006 | Warning | A nested interface whose containing type is not partial — no proxy is generated for it |
| ZC0007 | Warning | A generic interface, or one nested in a generic type — no proxy is generated for it |
| ZC0008 | Warning | A private or protected nested interface, which the namespace-level Add…Cache method cannot name — no proxy is generated for it |
| ZC0009 | Error | A file-local interface — no proxy is generated for it |
| ZC0010 | Error | An interface whose name differs only in case from another's — only the first is generated |
| ZC0011 | Warning | In a NativeAOT or trimmed project, a HybridCache method caches a type other than string or byte[] and no IHybridCacheSerializer<T> exists for it — HybridCache's default serializer throws on the first miss |