34 implementations of Contains
mscorlib (11)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
1528bool IDictionary.Contains(object key)
system\collections\dictionarybase.cs (1)
102bool IDictionary.Contains(object key) {
system\collections\emptyreadonlydictionaryinternal.cs (1)
112public bool Contains(Object key) {
system\collections\generic\dictionary.cs (1)
677bool IDictionary.Contains(object key) {
system\collections\hashtable.cs (1)
495public virtual bool Contains(Object key) {
system\collections\listdictionaryinternal.cs (1)
184public bool Contains(Object key) {
system\collections\objectmodel\readonlydictionary.cs (1)
183bool IDictionary.Contains(object key) {
system\collections\sortedlist.cs (1)
306public virtual bool Contains(Object key) {
system\runtime\remoting\ichannel.cs (2)
645public virtual bool Contains(Object key) 865public virtual bool Contains(Object key)
system\runtime\remoting\message.cs (1)
1957public virtual bool Contains(Object key)
PresentationBuildTasks (1)
Framework\System\Windows\Markup\XmlnsDictionary.cs (1)
188public bool Contains(object key)
PresentationCore (2)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
323bool SC.IDictionary.Contains(object key)
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
299bool SC.IDictionary.Contains(object key)
PresentationFramework (3)
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
336bool IDictionary.Contains(object key)
src\Framework\System\Windows\Markup\XmlnsDictionary.cs (1)
188public bool Contains(object key)
src\Framework\System\Windows\ResourceDictionary.cs (1)
723public bool Contains(object key)
System (6)
compmod\system\collections\generic\sorteddictionary.cs (1)
317bool IDictionary.Contains(object key) {
compmod\system\collections\generic\sortedlist.cs (1)
382bool System.Collections.IDictionary.Contains(Object key) {
compmod\system\collections\specialized\hybriddictionary.cs (1)
270public bool Contains(object key) {
compmod\system\collections\specialized\listdictionary.cs (1)
211public bool Contains(object key) {
compmod\system\collections\specialized\ordereddictionary.cs (1)
234public bool Contains(object key) {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (1)
493bool IDictionary.Contains(object key) {
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
268bool IDictionary.Contains(object key) {
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
268bool IDictionary.Contains(object key) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
247bool System.Collections.IDictionary.Contains(object keyword) {
System.Runtime.Remoting (1)
channels\http\combinedhttpchannel.cs (1)
415public virtual bool Contains(Object key)
System.ServiceModel (1)
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
714public bool Contains(object key)
System.ServiceModel.Internals (1)
System\Runtime\Collections\OrderedDictionary.cs (1)
253bool IDictionary.Contains(object key)
System.Web (4)
UI\FilteredAttributeCollection.cs (1)
173bool IDictionary.Contains(object key) {
UI\ParsedAttributeCollection.cs (1)
253bool IDictionary.Contains(object key) {
UI\StateBag.cs (1)
393bool IDictionary.Contains(object key) {
UI\WebParts\PersonalizationDictionary.cs (1)
157bool IDictionary.Contains(object key) {
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
120bool IDictionary.Contains( object key )
153 references to Contains
mscorlib (9)
system\exception.cs (2)
222if (Data != null && Data.Contains("__HasRestrictedLanguageErrorObject")) 224if (Data.Contains("__RestrictedErrorObject"))
system\runtime\remoting\activationservices.cs (3)
1215if (ctorMsg.Properties.Contains(ActivationServices.RemoteActivateKey)) 1320if (ctorMsg.Properties.Contains(ActivationServices.RemoteActivateKey)) 1332if (ctorMsg.Properties.Contains(ActivationServices.PermissionKey))
system\runtime\remoting\ichannel.cs (3)
804if (dict.Contains(key)) 815if (dict.Contains(key)) 869if (dict.Contains(key))
system\runtime\remoting\message.cs (1)
1965return _dict.Contains(key);
PresentationFramework (3)
src\Framework\MS\Internal\Ink\EraserBehavior.cs (1)
434if (!ex.Data.Contains("System.Windows.Ink.StrokeCollection"))
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
4135if (dictionary != null && dictionary.Contains(resourceNameObject))
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
339return ((IDictionary)_dictionary).Contains(key);
System (5)
compmod\system\componentmodel\TypeDescriptor.cs (1)
2512Debug.Assert(cache == null || list == null || !cache.Contains(_pipelineFilterKeys[pipelineType]), "Earlier pipeline stage should have removed our cache");
services\monitoring\system\diagnosticts\InstanceDataCollection.cs (1)
85return Dictionary.Contains(objectName);
services\monitoring\system\diagnosticts\InstanceDataCollectionCollection.cs (1)
69return Dictionary.Contains(objectName);
sys\system\configuration\LocalFileSettingsProvider.cs (2)
138if (settings.Contains(settingName)) { 402if (settings.Contains(settingName)) {
System.Configuration (1)
System\Configuration\BaseConfigurationRecord.cs (1)
462if (!((IDictionary)indirectLocationInputs).Contains(configKey)) {
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlException.cs (2)
120if (Data.Contains(OriginalClientConnectionIdKey)) { 126if (Data.Contains(RoutingDestinationKey)) {
System.Runtime.Remoting (3)
channels\http\combinedhttpchannel.cs (3)
354if (dict.Contains(key)) 365if (dict.Contains(key)) 419if (dict.Contains(key))
System.ServiceModel (5)
System\ServiceModel\Channels\FramingFormat.cs (1)
156if (exception.Data.Contains(FramingEncodingString.ExceptionKey))
System\ServiceModel\Channels\HttpChannelListener.cs (2)
1151if (protocolException.Data.Contains(HttpChannelUtilities.HttpStatusCodeExceptionKey)) 1156if (protocolException.Data.Contains(HttpChannelUtilities.HttpStatusDescriptionExceptionKey))
System\ServiceModel\Channels\HttpRequestContext.cs (1)
379if (e.Data.Contains(HttpChannelUtilities.HttpStatusCodeKey))
System\ServiceModel\Description\MessageContractImporter.cs (1)
1697if (ex.Data.Contains(FailedReferenceTypeExceptionKey))
System.ServiceModel.Activation (6)
System\ServiceModel\Activation\ServiceParser.cs (6)
581if (directive.Contains(FactoryAttributeName)) 586else if (directive.Contains(ServiceAttributeName)) 600if (directive.Contains("name") && directive.Contains("src")) 604else if (directive.Contains("name")) 614else if (directive.Contains("src"))
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\ContractValidationHelper.cs (2)
424else if (parameters.Contains(targetMessageBody.ReturnValue.Name)) 448else if (parameters.Contains(targetPart.Name))
System.Web (61)
Compilation\BuildManagerHost.cs (3)
627if (_stringDictionary.Contains(virtualPath)) { 642if (_stringDictionary.Contains(virtualPath)) { 664if (_stringDictionary.Contains(virtualDependency)) {
Configuration\BrowserCapabilitiesFactoryBase.cs (2)
90bool filter1Exists = (browsers.Contains(filter1)) || isFilter1DefaultFilter; 91bool filter2Exists = (browsers.Contains(filter2)) || isFilter2DefaultFilter;
httpserverutility.cs (3)
166if (!_cultureCache.Contains(name)) { 183if (!_cultureCache.Contains(ci.Name)) { 196if (!_cultureCache.Contains(culture)) {
Management\WebEvents.cs (1)
2149_isImpersonating = exception.Data.Contains(IsImpersonatingKey);
SiteMapProvider.cs (1)
370if (!context.Items.Contains(_resolutionTicket)) {
StaticSiteMapProvider.cs (4)
122if (KeyTable.Contains(key)) { 265if (ParentNodeTable.Contains(node)) 275if (url != null && url.Length > 0 && UrlTable.Contains(url)) { 280if (KeyTable.Contains(key)) {
UI\ClientScriptManager.cs (1)
653if (!_registeredArrayDeclares.Contains(arrayName)) {
UI\ControlBuilder.cs (1)
1822if (!filteredEntries.Contains(entry.Name)) {
UI\FilteredAttributeCollection.cs (1)
82return _data.Contains(key);
UI\ObjectStateFormatter.cs (1)
291Debug.Assert(_stringTable.Contains(oldString));
UI\PageAdapter.cs (1)
135if (_radioButtonGroups.Contains(groupName)) {
UI\ParsedAttributeCollection.cs (1)
254return AllFiltersDictionary.Contains(key);
UI\StateBag.cs (1)
394return bag.Contains((string) key);
UI\TemplateParser.cs (1)
1760if (directive.Contains(entry.Key))
UI\WebControls\AutoGeneratedField.cs (1)
156if (dictionary.Contains(dataField)) {
UI\WebControls\BoundField.cs (1)
374if (dictionary.Contains(dataField)) {
UI\WebControls\CheckBoxField.cs (1)
249if (dictionary.Contains(dataField)) {
UI\WebControls\ContentPlaceHolder.cs (1)
85&& masterPage.ContentTemplates.Contains(_contentPlaceHolderID)) {
UI\WebControls\DetailsView.cs (1)
2322if (e.Values.Contains(entry.Key)) {
UI\WebControls\FormView.cs (1)
1952if (e.Values.Contains(entry.Key)) {
UI\WebControls\GridView.cs (1)
2862if (e.Values.Contains(entry.Key)) {
UI\WebControls\ImageField.cs (1)
312if (dictionary.Contains(dataField)) {
UI\WebControls\Menu.cs (1)
2441if (data.Contains("DesignTimeTextWriterType")) {
UI\WebControls\ObjectDataSourceView.cs (3)
1277if (updateParams.Contains(de.Key)) { 1507if (!allParameters.Contains(pi.Name)) { 1582Debug.Assert(allParameters.Contains(paramName));
UI\WebControls\ParameterCollection.cs (1)
192while (valueDictionary.Contains(uniqueName)) {
UI\WebControls\SqlDataSourceView.cs (2)
631if ((caseInsensitiveExclusionList != null) && (caseInsensitiveExclusionList.Contains(rawParamName))) { 1208if ((caseInsensitiveExclusionList == null) || (!caseInsensitiveExclusionList.Contains(parameter.Name))) {
UI\WebControls\TreeView.cs (1)
2410if (populatedNodes.Contains(index)) {
UI\WebControls\WebControl.cs (3)
748if (((IDictionary)ViewState).Contains("AccessKey")) { 752if (((IDictionary)ViewState).Contains("TabIndex")) { 756if (((IDictionary)ViewState).Contains("ToolTip")) {
UI\WebParts\BlobPersonalizationState.cs (6)
114if (_personalizedControls.Contains(personalizationID)) { 406if (oldProperties.Contains(name)) { 853if ((initialPropertyState == null || !initialPropertyState.Contains(name)) && defaultPropertyState != null) { 897if (userProperties != null && userProperties.Contains(propertyName)) { 988if (SharedState.Contains(personalizationID)) { 996if (UserState.Contains(personalizationID)) {
UI\WebParts\ConnectionsZone.cs (6)
649!_connectDropDownLists.Contains(consumerConnectionPoint) || 651!_connectionPointInfo.Contains(consumerConnectionPoint)) { 665if (providers == null || !providers.Contains(selectedValue)) { 733!_connectDropDownLists.Contains(providerConnectionPoint) || 735!_connectionPointInfo.Contains(providerConnectionPoint)) { 749if (consumers == null || !consumers.Contains(selectedValue)) {
UI\WebParts\WebPartManager.cs (4)
1604if (connectionIDs.Contains(connectionID)) { 3917if (_zoneIDs.Contains(zoneID)) { 4374if (_manager._partAndChildControlIDs.Contains(partID)) { 4391if (_manager._partAndChildControlIDs.Contains(childControlID)) {
UI\WebParts\WebPartPersonalization.cs (2)
71(userCapabilities.Contains(WebPartPersonalization.EnterSharedScopeUserCapability)); 201(userCapabilities.Contains(WebPartPersonalization.ModifyStateUserCapability));
Util\ObjectSet.cs (1)
200return _objects.Contains(o);
XmlSiteMapProvider.cs (1)
189if (KeyTable.Contains(key)) {
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
896if (HttpContext.Current != null && HttpContext.Current.Items.Contains(_folderKeyName))
System.Web.Extensions (3)
Script\Serialization\JavaScriptSerializer.cs (1)
312if (o.Contains(ServerTypeFieldName)) {
UI\ScriptResourceInfo.cs (1)
98if (!_duplicateScriptAttributesChecked.Contains(assembly)) {
UI\WebControls\ListView.cs (1)
2208if (e.Values.Contains(entry.Key)) {
System.Web.Services (3)
System\Web\Services\Discovery\DiscoveryClientDocuments.cs (1)
64return Dictionary.Contains(url);
System\Web\Services\Discovery\DiscoveryClientReferences.cs (1)
72return Dictionary.Contains(url);
System\Web\Services\Discovery\DiscoveryExceptionDictionary.cs (1)
64return Dictionary.Contains(url);
System.Workflow.Activities (12)
Common\CompModHelpers.cs (5)
1011if (dependencyObject.UserData.Contains(UserDataKeys.DesignTimeTypeNames)) 1027if (!dependencyObject.UserData.Contains(UserDataKeys.DesignTimeTypeNames)) 1044if (compositeActivity.UserData.Contains(UserDataKeys.CustomActivity)) 1196if (!declaringActivity.UserData.Contains(UserDataKeys.CustomActivityDefaultName)) 1286if (!activity.UserData.Contains(typeof(AlternateFlowActivityAttribute)))
Common\ValidationHelpers.cs (1)
239if (!error.UserData.Contains(typeof(Activity)))
Designers\EventSinkActivityDesigner.cs (2)
48if (!properties.Contains("CorrelationToken")) 53if (properties.Contains("CorrelationToken"))
Designers\InvokeMethodActivityDesigner.cs (2)
47if (!properties.Contains("CorrelationToken")) 52if (properties.Contains("CorrelationToken"))
Designers\WebServiceReceiveDesigner.cs (1)
33if (properties.Contains("InterfaceType"))
Rules\Expressions.cs (1)
1378if ((methodInvokeInfo == null) && (invokeExpr.UserData.Contains(RuleUserDataKeys.QualifiedName)))
System.Workflow.ComponentModel (21)
AuthoringOM\Activity.cs (1)
1826if (this.UserData.Contains(typeof(PersistOnCloseAttribute)))
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
676if (!error.UserData.Contains(typeof(Activity)))
AuthoringOM\Design\ActivityPreviewDesigner.cs (3)
865if (verb != null && verb.Properties.Contains(DesignerUserDataKeys.ViewActivity)) 888if (ShowPreview && designerVerb != null && designerVerb.Properties.Contains(DesignerUserDataKeys.PreviewActivity)) 895if (ShowPreview && designerVerb != null && designerVerb.Properties.Contains(DesignerUserDataKeys.PreviewActivity))
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
779if (activity.UserData.Contains(typeof(ActivityDesigner)))
AuthoringOM\Design\FreeFormDesigner.cs (2)
1412if (designerVerb != null && designerVerb.Properties.Contains(DesignerUserDataKeys.ZOrderKey)) 1428if (designerVerb != null && designerVerb.Properties.Contains(DesignerUserDataKeys.ZOrderKey))
AuthoringOM\Design\PropertyDescriptors.cs (1)
170if (!props.Contains(property.Name))
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (2)
191if (cs.UserData.Contains(UserDataKeys.CodeSegment_New)) 239if (!instanceActivity.UserData.Contains(UserDataKeys.CustomActivity))
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
160if (dependencyObject.UserData.Contains(UserDataKeys.DesignTimeTypeNames))
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (1)
170if (extendee != null && value != null && !this.keylookupDictionary.Contains(value))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
699if (obj is DependencyObject && ((DependencyObject)obj).UserData.Contains(UserDataKeys.DesignTimeTypeNames))
Shared\CompModHelpers.cs (5)
1009if (dependencyObject.UserData.Contains(UserDataKeys.DesignTimeTypeNames)) 1025if (!dependencyObject.UserData.Contains(UserDataKeys.DesignTimeTypeNames)) 1042if (compositeActivity.UserData.Contains(UserDataKeys.CustomActivity)) 1194if (!declaringActivity.UserData.Contains(UserDataKeys.CustomActivityDefaultName)) 1284if (!activity.UserData.Contains(typeof(AlternateFlowActivityAttribute)))
Shared\ValidationHelpers.cs (1)
238if (!error.UserData.Contains(typeof(Activity)))
Shared\XomlSerializationHelpers.cs (1)
422if (codeNamespace.UserData.Contains("TruncatedNamespace"))
System.Workflow.Runtime (3)
Hosting\SqlWorkflowPersistenceService.cs (1)
962if (!ioe.Data.Contains("WorkflowNotFound"))
WorkflowDefinitionDispenser.cs (1)
237if (!error.UserData.Contains(typeof(Activity)))
WorkflowExecutor.cs (1)
3017if (activity.UserData.Contains(typeof(PersistOnCloseAttribute)))
System.WorkflowServices (8)
System\ServiceModel\Dispatcher\ServiceErrorHandler.cs (1)
35if (data != null && data.Contains(dataKey))
System\Workflow\Activities\OperationInfo.cs (1)
237if (this.UserData.Contains(OperationInfoBase.MethodInfoProperty))
System\Workflow\Activities\ReceiveActivity.cs (2)
297if (this.UserData.Contains(typeof(ReceiveOperationInfoHelper))) 1084if ((definition != null) && definition.UserData.Contains(typeof(OperationParameterInfoCollection)))
System\Workflow\Activities\SendActivity.cs (2)
249if (this.UserData.Contains(typeof(SendOperationInfoHelper))) 506if ((definition != null) && definition.UserData.Contains(typeof(OperationParameterInfoCollection)))
System\Workflow\Activities\TypedOperationInfo.cs (1)
183if (this.UserData.Contains(OperationInfoBase.MethodInfoProperty))
System\Workflow\Runtime\WorkflowDefinitionContext.cs (1)
115if (!error.UserData.Contains(typeof(Activity)))
WindowsBase (5)
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
123return baseDictionary.Contains(key);
Base\MS\Internal\IO\Zip\ZipArchive.cs (1)
235if (ZipFileInfoDictionary.Contains(zipFileName))
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryBlock.cs (2)
195Debug.Assert(CentralDirectoryDictionary.Contains(localFileBlock.FileName)); 344return CentralDirectoryDictionary.Contains(fileName);
Base\System\Windows\Threading\Dispatcher.cs (1)
3030if (!e.Data.Contains(ExceptionDataKey))