23 references to OperationResult
System.Collections.Immutable (23)
System\Collections\Immutable\ImmutableHashSet_1.cs (13)
616OperationResult result; 620if (result == OperationResult.NoChangeRequired) 626Debug.Assert(result == OperationResult.SizeChanged); 635ImmutableHashSet<T>.OperationResult result = OperationResult.NoChangeRequired; 642if (result == OperationResult.NoChangeRequired) 650return new MutationResult(newRoot, result == OperationResult.SizeChanged ? -1 : 0); 681OperationResult result; 683if (result == OperationResult.SizeChanged) 704OperationResult result; 706if (result == OperationResult.SizeChanged) 816OperationResult result; 818if (result == OperationResult.SizeChanged)
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (10)
131internal HashBucket Add(T value, IEqualityComparer<T> valueComparer, out OperationResult result) 135result = OperationResult.SizeChanged; 141result = OperationResult.NoChangeRequired; 145result = OperationResult.SizeChanged; 202internal HashBucket Remove(T value, IEqualityComparer<T> equalityComparer, out OperationResult result) 206result = OperationResult.NoChangeRequired; 214result = OperationResult.SizeChanged; 222result = OperationResult.SizeChanged; 230result = OperationResult.NoChangeRequired; 235result = OperationResult.SizeChanged;