20 references to Contains
Aspire.Hosting (1)
Orchestrator\RelationshipEvaluator.cs (1)
75if (visited.Contains(parent))
ConfigurationSchemaGenerator (2)
ConfigSchemaEmitter.cs (2)
228if (_visitedTypes.Contains(objectSpec)) 308if (collection.TypeRef.Equals(collection.ElementTypeRef) || _visitedTypes.Contains(collection))
ILCompiler.Compiler (2)
Compiler\TypePreinit.cs (1)
172if (recursionProtect != null && recursionProtect.Contains(methodIL.OwningMethod))
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\IL\NativeStructType.cs (1)
187if (typesBeingLookedAt.Contains(managedStructType))
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\arcade\src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (2)
233if (depStack.Contains(depAssm)) 293if (depAssm != root && depStack.Contains(depAssm))
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\AssemblyResolver.cs (1)
150if (_currentlyResolvingResources != null && _currentlyResolvingResources.Count > 0 && _currentlyResolvingResources.Contains(assemblyPath))
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnWriter.cs (1)
919_writer._nestingStack.Contains(_frame))
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\StackSpiller.Temps.cs (1)
144Debug.Assert(_usedTemps == null || !_usedTemps.Contains(temp));
System.Speech (2)
Internal\SrgsCompiler\BackEnd.cs (1)
653if (endState != null && !stateToProcess.Contains(endState) && !statesToDelete.Contains(endState))
Internal\SrgsCompiler\Graph.cs (1)
720if (!mergeStates.Contains(commonEndState))
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)
383Debug.Assert(!_pool.Contains(_local));
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
33if (_currentCommands.Contains(commandID))