20 references to Contains
Aspire.Hosting (1)
Orchestrator\RelationshipEvaluator.cs (1)
75
if (visited.
Contains
(parent))
ConfigurationSchemaGenerator (2)
ConfigSchemaEmitter.cs (2)
228
if (_visitedTypes.
Contains
(objectSpec))
308
if (collection.TypeRef.Equals(collection.ElementTypeRef) || _visitedTypes.
Contains
(collection))
ILCompiler.Compiler (2)
Compiler\TypePreinit.cs (1)
172
if (recursionProtect != null && recursionProtect.
Contains
(methodIL.OwningMethod))
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\IL\NativeStructType.cs (1)
187
if (typesBeingLookedAt.
Contains
(managedStructType))
illink (1)
Linker.Steps\UnreachableBlocksOptimizer.cs (1)
1989
if (callStack.
Contains
(md))
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
337
if (seenNames.
Contains
(currentAttributeName))
Microsoft.DotNet.PackageTesting (2)
VerifyClosure.cs (2)
233
if (depStack.
Contains
(depAssm))
293
if (depAssm != root && depStack.
Contains
(depAssm))
Microsoft.DotNet.SharedFramework.Sdk (2)
src\arcade\src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (2)
233
if (depStack.
Contains
(depAssm))
293
if (depAssm != root && depStack.
Contains
(depAssm))
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\AssemblyResolver.cs (1)
150
if (_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)
144
Debug.Assert(_usedTemps == null || !_usedTemps.
Contains
(temp));
System.Speech (2)
Internal\SrgsCompiler\BackEnd.cs (1)
653
if (endState != null && !stateToProcess.
Contains
(endState) && !statesToDelete.Contains(endState))
Internal\SrgsCompiler\Graph.cs (1)
720
if (!mergeStates.
Contains
(commonEndState))
System.Text.Json (2)
System\Text\Json\Serialization\IgnoreReferenceResolver.cs (2)
21
=> _stackForCycleDetection?.
Contains
(new ReferenceEqualsWrapper(value)) ?? false;
29
Debug.Assert(!_stackForCycleDetection.
Contains
(wrappedValue));
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexCompiler.cs (1)
383
Debug.Assert(!_pool.
Contains
(_local));
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
33
if (_currentCommands.
Contains
(commandID))