24 references to OperationResult
System.Collections.Immutable (24)
System\Collections\Immutable\ImmutableDictionary_2.cs (9)
366
OperationResult
result;
369
if (result ==
OperationResult
.SizeChanged)
934
OperationResult
result;
938
if (result ==
OperationResult
.NoChangeRequired)
944
return new MutationResult(newRoot, result ==
OperationResult
.SizeChanged ? +1 : 0);
961
OperationResult
result;
964
if (result ==
OperationResult
.SizeChanged)
982
OperationResult
result;
984
return new MutationResult(newRoot, result ==
OperationResult
.SizeChanged ? -1 : 0);
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (15)
140
internal HashBucket Add(TKey key, TValue value, IEqualityComparer<KeyValuePair<TKey, TValue>> keyOnlyComparer, IEqualityComparer<TValue> valueComparer, KeyCollisionBehavior behavior, out
OperationResult
result)
145
result =
OperationResult
.SizeChanged;
154
result =
OperationResult
.AppliedWithoutSizeChange;
157
result =
OperationResult
.NoChangeRequired;
165
result =
OperationResult
.NoChangeRequired;
177
result =
OperationResult
.SizeChanged;
185
result =
OperationResult
.AppliedWithoutSizeChange;
188
result =
OperationResult
.NoChangeRequired;
197
result =
OperationResult
.NoChangeRequired;
214
internal HashBucket Remove(TKey key, IEqualityComparer<KeyValuePair<TKey, TValue>> keyOnlyComparer, out
OperationResult
result)
218
result =
OperationResult
.NoChangeRequired;
227
result =
OperationResult
.SizeChanged;
235
result =
OperationResult
.SizeChanged;
243
result =
OperationResult
.NoChangeRequired;
248
result =
OperationResult
.SizeChanged;