diff --git a/src/SharpArena/Collections/ArenaDictionary.cs b/src/SharpArena/Collections/ArenaDictionary.cs index 9c20694..6c5e7bd 100644 --- a/src/SharpArena/Collections/ArenaDictionary.cs +++ b/src/SharpArena/Collections/ArenaDictionary.cs @@ -392,7 +392,7 @@ public readonly bool TryGetValue(TKey key, out TValue value) /// The key whose value to get. /// When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. /// if the contains an element with the specified key; otherwise, . - public bool TryGetValue(ReadOnlySpan key, out TValue value) + public readonly bool TryGetValue(ReadOnlySpan key, out TValue value) { if (typeof(TKey) == typeof(ArenaUtf16String)) {