public TValue GetValueOrDefault()

in 2021.2/CSharp20212/NullableReferenceTypes/JetBrainsAnnotations/CompilerSupportedAttributes.cs [27:32]


        public TValue GetValueOrDefault([CanBeNull] TKey key, [NotNull] TValue defaultValue)
        {
            return key != null && _store.TryGetValue(key, out var cachedValue)
                ? cachedValue
                : defaultValue;
        }