8 references to InsertionBehavior
Microsoft.CodeAnalysis (8)
src\Dependencies\Collections\SegmentedDictionary`2.cs (8)
257
var modified = TryInsert(key, value,
InsertionBehavior
.OverwriteExisting);
264
var modified = TryInsert(key, value,
InsertionBehavior
.ThrowOnExisting);
505
private bool TryInsert(TKey key, TValue value,
InsertionBehavior
behavior)
545
if (behavior ==
InsertionBehavior
.OverwriteExisting)
551
if (behavior ==
InsertionBehavior
.ThrowOnExisting)
584
if (behavior ==
InsertionBehavior
.OverwriteExisting)
590
if (behavior ==
InsertionBehavior
.ThrowOnExisting)
866
=> TryInsert(key, value,
InsertionBehavior
.None);