8 references to InsertionBehavior
Microsoft.CodeAnalysis.Collections.Package (8)
Segmented\SegmentedDictionary`2.cs (8)
259
var modified = TryInsert(key, value,
InsertionBehavior
.OverwriteExisting);
266
var modified = TryInsert(key, value,
InsertionBehavior
.ThrowOnExisting);
507
private bool TryInsert(TKey key, TValue value,
InsertionBehavior
behavior)
547
if (behavior ==
InsertionBehavior
.OverwriteExisting)
553
if (behavior ==
InsertionBehavior
.ThrowOnExisting)
586
if (behavior ==
InsertionBehavior
.OverwriteExisting)
592
if (behavior ==
InsertionBehavior
.ThrowOnExisting)
868
=> TryInsert(key, value,
InsertionBehavior
.None);