public SlowCompoundKey(Type type, JsonConverterCollection collection) : base(type.GetHashCode() * 17 + collection.GetHashCode()) { Debug.Assert(collection.IsFrozen); this.Type = type; this.Collection = new WeakReference <JsonConverterCollection>(collection); }
public FastCompoundKey(Type type, JsonConverterCollection collection) : base(type.GetHashCode() * 17 + collection.GetHashCode()) { Debug.Assert(collection.IsFrozen); this.Type = type; this.Collection = collection; }