110 implementations of Contains
GenerateDocumentationAndConfigFiles (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Metrics (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Metrics.Legacy (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.BannedApiAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.Collections.Package (4)
Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.Extensions.Package (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.InteractiveHost (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
375public bool Contains(object key)
Microsoft.CodeAnalysis.Threading.Package (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.Workspaces (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (1)
176public bool Contains(object key)
PresentationCore (2)
System\Windows\Media\CharacterMetricsDictionary.cs (1)
298bool SC.IDictionary.Contains(object key)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
277bool SC.IDictionary.Contains(object key)
PresentationFramework (3)
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
320bool IDictionary.Contains(object key)
System\Windows\Markup\XmlnsDictionary.cs (1)
176public bool Contains(object key)
System\Windows\ResourceDictionary.cs (1)
770public bool Contains(object key)
Roslyn.Diagnostics.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (1)
1265bool IDictionary.Contains(object key)
System\Collections\Generic\SortedDictionary.cs (1)
366bool IDictionary.Contains(object key)
System\Collections\Generic\SortedList.cs (1)
405bool IDictionary.Contains(object key)
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1703bool IDictionary.Contains(object key)
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
594bool IDictionary.Contains(object key)
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
298bool IDictionary.Contains(object key)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
702bool IDictionary.Contains(object key)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
373bool IDictionary.Contains(object key)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
599bool IDictionary.Contains(object key)
System.Collections.NonGeneric (2)
System\Collections\DictionaryBase.cs (1)
108bool IDictionary.Contains(object key)
System\Collections\SortedList.cs (1)
309public virtual bool Contains(object key)
System.Collections.Specialized (3)
System\Collections\Specialized\HybridDictionary.cs (1)
269public bool Contains(object key)
System\Collections\Specialized\ListDictionary.cs (1)
189public bool Contains(object key)
System\Collections\Specialized\OrderedDictionary.cs (1)
260public bool Contains(object key)
System.ComponentModel.TypeConverter (1)
System\ComponentModel\PropertyDescriptorCollection.cs (1)
425bool IDictionary.Contains(object key)
System.Data.Common (1)
System\Data\Common\DbConnectionStringBuilder.cs (1)
298bool IDictionary.Contains(object keyword)
System.DirectoryServices (1)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (1)
384bool System.Collections.IDictionary.Contains(object value) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
1721bool IDictionary.Contains(object key)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
469public virtual bool Contains(object key)
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (1)
134public bool Contains(object key)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
127bool IDictionary.Contains(object key)
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
79public bool Contains(object key)
System.Xaml.Tests (1)
System\Xaml\XamlTypeTests.cs (1)
3275public bool Contains(object key) => throw new NotImplementedException();
Test.Utilities (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
Text.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
344bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
134bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
245readonly bool IDictionary.Contains(object key)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1131bool IDictionary.Contains(object key)
105 references to Contains
dotnet-svcutil-lib (3)
CodeDomFixup\MethodCreationHelper.cs (1)
100if (this.ClientType.UserData.Contains("Namespace"))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingFormat.cs (1)
157if (exception.Data.Contains(FramingEncodingString.ExceptionKey))
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
1685if (ex.Data.Contains(FailedReferenceTypeExceptionKey))
GenerateDocumentationAndConfigFiles (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Metrics (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Metrics.Legacy (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.AspNetCore.Authentication.Test (9)
GoogleTests.cs (6)
471Assert.True(ex.Data.Contains("error"), "error"); 472Assert.True(ex.Data.Contains("error_description"), "error_description"); 473Assert.True(ex.Data.Contains("error_uri"), "error_uri"); 508Assert.True(ex.Data.Contains("error"), "error"); 509Assert.True(ex.Data.Contains("error_description"), "error_description"); 510Assert.True(ex.Data.Contains("error_uri"), "error_uri");
OpenIdConnect\OpenIdConnectAuthenticateTests.cs (3)
81Assert.True(ex.Data.Contains("error"), "error"); 82Assert.True(ex.Data.Contains("error_description"), "error_description"); 83Assert.True(ex.Data.Contains("error_uri"), "error_uri");
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TryGetValueProvider.cs (1)
98var success = weakDict.Contains(key);
Microsoft.CodeAnalysis (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.Analyzers (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.BannedApiAnalyzers (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.CodeStyle (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.Collections.Package (3)
Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.Extensions.Package (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.InteractiveHost (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.PublicApiAnalyzers (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.Threading.Package (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.UnitTests (4)
Collections\ImmutableDictionaryBuilderTestBase.cs (2)
180Assert.True(dictionary.Contains("a")); 187Assert.False(dictionary.Contains("a"));
Collections\ImmutableDictionaryTestBase.cs (2)
172Assert.False(dictionary.Contains("a")); 173Assert.True(dictionary.Contains("c"));
Microsoft.CodeAnalysis.Workspaces (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Microsoft.ML.Core (3)
Utilities\Contracts.cs (3)
115return ex.Data.Contains(IsMarkedKey); 129if (!ex.Data.Contains(SensitivityKey)) 150if (!ex.Data.Contains(SensitivityKey))
Microsoft.ML.CpuMath (3)
src\Microsoft.ML.Core\Utilities\Contracts.cs (3)
115return ex.Data.Contains(IsMarkedKey); 129if (!ex.Data.Contains(SensitivityKey)) 150if (!ex.Data.Contains(SensitivityKey))
PresentationCore (2)
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (2)
342if (ex.Data.Contains("System.Windows.Input.StylusLogic")) 476if (ex.Data.Contains("System.Windows.Input.StylusLogic"))
PresentationFramework (5)
MS\Internal\Ink\EraserBehavior.cs (1)
417if (!ex.Data.Contains("System.Windows.Ink.StrokeCollection"))
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (2)
285if (dict != null && dict.Contains("__HasRestrictedLanguageErrorObject")) 287if (dict.Contains("__RestrictedErrorObjectReference"))
System\Windows\Markup\BamlRecordReader.cs (1)
4069if (dictionary != null && dictionary.Contains(resourceNameObject))
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
323return ((IDictionary)_dictionary).Contains(key);
ReachFramework (1)
Serialization\Manager\ReachNamespaceInfo.cs (1)
126return _innerDictionary.Contains(type);
Roslyn.Diagnostics.Analyzers (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\TypeDescriptor.cs (1)
1976Debug.Assert(cache == null || list == null || !cache.Contains(s_pipelineFilterKeys[pipelineType]), "Earlier pipeline stage should have removed our cache");
System.Configuration.ConfigurationManager (3)
System\Configuration\BaseConfigurationRecord.cs (1)
421if (!((IDictionary)indirectLocationInputs).Contains(configKey))
System\Configuration\LocalFileSettingsProvider.cs (2)
116if (settings.Contains(settingName)) 385if (settings.Contains(settingName))
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
138((ex.HttpRequestError == HttpRequestError.ExtendedConnectNotSupported || ex.Data.Contains("HTTP2_ENABLED"))
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingFormat.cs (1)
158if (exception.Data.Contains(FramingEncodingString.ExceptionKey))
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (1)
25if (!options.AllowDuplicateProperties && collection.Contains(key))
System.Windows.Forms.Design (6)
System\ComponentModel\Design\ComponentDesigner.cs (1)
603if (attributes.Contains(typeof(InheritanceAttribute)))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2804if (table.Contains(name))
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
437bool hasLocation = (defaultValues is not null && defaultValues.Contains("Location")); 438bool hasSize = (defaultValues is not null && defaultValues.Contains("Size")); 444if (defaultValues is not null && defaultValues.Contains("Offset")) 538if (defaultValues is not null && defaultValues.Contains("ToolboxSnapDragDropEventArgs"))
Test.Utilities (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
Text.Analyzers (3)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
45=> dictionary.Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
345=> ((IDictionary)_dictionary).Contains(key);
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
246=> ((IDictionary)ReadOnlyDictionary).Contains(key);
VBCSCompiler.UnitTests (1)
NamedPipeTestUtil.cs (1)
62if (!servers.Contains(pipeName))