16 references to ContainsValue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
89return importer.KnownContracts.ContainsValue(endpointContext.Endpoint.Contract);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TempDataDictionary.cs (1)
214return _data.ContainsValue(value);
Microsoft.Build.Tasks.UnitTests (2)
GetInstalledSDKLocations_Tests.cs (2)
303Assert.False(sdksAndVersions.ContainsValue("3.0")); 304Assert.False(sdksAndVersions.ContainsValue("4.0"));
Microsoft.CodeAnalysis.CSharp (1)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
392Debug.Assert(frame.parent.knownStates.ContainsValue(frame), "parent must be aware about states in the child frame");
Microsoft.Maui.Controls (2)
OrderedDictionary.cs (1)
287 return _dict.ContainsValue(value);
Visuals\VisualTypeConverter.cs (1)
187 if (_visualTypeMappings.ContainsValue(visual))
Microsoft.ML.FastTree (1)
GamModelParameters.cs (1)
108Host.CheckParam(!_inputFeatureToShapeFunctionMap.ContainsValue(_shapeToInputMap[i]), nameof(_shapeToInputMap), "Contains duplicate mappings");
Microsoft.ML.OnnxConverter (1)
OnnxContextImpl.cs (1)
104if (!_columnNameMap.ContainsValue(variableName))
PresentationCore (2)
MS\Internal\Ink\Renderer.cs (1)
613_highlighters.ContainsValue(hcVisual))
System\Windows\Media\Knowncolors.cs (1)
204return s_solidColorBrushCache.ContainsValue(scp);
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
57public bool ContainsValue(string? value) => _contents.ContainsValue(value);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
2137bool ICollection<TValue>.Contains(TValue item) => _dictionary.ContainsValue(item);
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceManager.cs (1)
514if (!localResourceSets.ContainsValue(rs))
System.Xaml (2)
System\Xaml\XamlObjectReader.cs (2)
2594if (basePrefix != XamlLanguage.PreferredPrefix && !namespaceToPrefixMap.ContainsValue(string.Empty)) 2605while (namespaceToPrefixMap.ContainsValue(prefix))