Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ this[TKey key]

TValue System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.Builder.this[TKey key]
getset

Implements System.Collections.Generic.IReadOnlyDictionary< TKey, TValue >.

Definition at line 283 of file ImmutableDictionary.cs.

284 {
285 get
286 {
288 {
289 return value;
290 }
292 }
293 set
294 {
295 MutationResult result = ImmutableDictionary<TKey, TValue>.Add(key, value, KeyCollisionBehavior.SetValue, Origin);
296 Apply(result);
297 }
298 }
KeyCollisionBehavior
void Add(TKey key, TValue value)
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Arg_KeyNotFoundWithKey
Definition SR.cs:94
Definition SR.cs:7