4 references to Contains
Microsoft.CodeAnalysis.UnitTests (2)
Collections\List\TestBase.Generic.cs (2)
157
while (queue.
Contains
(toEnqueue) || (match != null && match.Contains(toEnqueue))) // Don't want any unexpectedly duplicate values
170
actualMatchingCount += queue.
Contains
(lookingFor) ? 1 : 0;
PresentationFramework (1)
System\Windows\Controls\ItemContainerGenerator.cs (1)
325
Debug.Assert(!_recyclableContainers.
Contains
(container), "trying to add a container to the collection twice");
System.Linq.Expressions (1)
System\Linq\Expressions\DebugViewWriter.cs (1)
405
if (!_lambdas.
Contains
(node))