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