3 references to CacheContext
System.Text.Json (3)
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (1)
119
typeInfo =
CacheContext
.GetOrAddTypeInfo(type, fallBackToNearestAncestorType);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
710
lock (Options.
CacheContext
)
741
Debug.Assert(Monitor.IsEntered(Options.
CacheContext
), "Configure called directly, use EnsureConfigured which synchronizes access to this method");