11 references to Contains
illink (1)
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
337if (seenNames.Contains(currentAttributeName))
Microsoft.DotNet.PackageTesting (2)
VerifyClosure.cs (2)
233if (depStack.Contains(depAssm)) 293if (depAssm != root && depStack.Contains(depAssm))
Microsoft.DotNet.SharedFramework.Sdk (2)
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (2)
233if (depStack.Contains(depAssm)) 293if (depAssm != root && depStack.Contains(depAssm))
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\StackSpiller.Temps.cs (1)
144Debug.Assert(_usedTemps == null || !_usedTemps.Contains(temp));
System.Text.Json (2)
System\Text\Json\Serialization\IgnoreReferenceResolver.cs (2)
21=> _stackForCycleDetection?.Contains(new ReferenceEqualsWrapper(value)) ?? false; 29Debug.Assert(!_stackForCycleDetection.Contains(wrappedValue));
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexCompiler.cs (1)
379Debug.Assert(!_pool.Contains(_local));
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
33if (_currentCommands.Contains(commandID))