Implemented interface member:
method
Contains
System.Collections.IList.Contains(System.Object)
5 overrides of Contains
mscorlib (5)
system\collections\arraylist.cs (5)
901public override bool Contains(Object obj) { 1315public override bool Contains(Object item) { 1731public override bool Contains(Object obj) { 1988public override bool Contains(Object obj) { 2252public override bool Contains(Object item) {
207 references to Contains
mscorlib (8)
system\collections\arraylist.cs (3)
1317return _list.Contains(item); 1732return _list.Contains(obj); 1989return _list.Contains(obj);
system\collections\collectionbase.cs (1)
129return InnerList.Contains(value);
system\runtime\remoting\synchronizeddispatch.cs (2)
122|| _asyncLcidList.Contains(msgLCID)); 545if (AsyncCallOutLCIDList.Contains(callCtx.RemotingData.LogicalCallID))
system\security\permissionlistset.cs (1)
302if (!current.Contains(newList[i]))
system\security\policy\netcodegroup.cs (1)
804if (!thatList.Contains(thisList[k]))
PresentationBuildTasks (3)
Framework\System\Windows\Markup\BamlRecordWriter.cs (1)
708if (!asmList.Contains(asmName))
Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1383if (propertyNamesSoFar.Contains(propertyName))
Framework\System\Windows\Markup\XmlnsDictionary.cs (1)
514if (!prefixes.Contains(_nsDeclarations[thisDecl].Prefix))
PresentationCore (1)
Core\CSharp\System\Windows\DataObject.cs (1)
1561if (!distinct.Contains(formatString))
PresentationFramework (17)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
90return _viewList.Contains(item);
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (1)
272if (names.Contains(child.Group.Name))
src\Framework\MS\Internal\PtsHost\PtsContext.cs (4)
310Invariant.Assert(!_pages.Contains(ptsPage.Value), "Page already exists."); 356Invariant.Assert(!_pageBreakRecords.Contains(br.Value), "Break record already exists."); 520Invariant.Assert(_pages.Contains(ptsPage.Value), "Page does not exist."); 567Invariant.Assert(_pageBreakRecords.Contains(br.Value), "Break record does not exist.");
src\Framework\System\Windows\Data\CompositeCollection.cs (2)
168return InternalList.Contains(containItem); 491if (InternalList.Contains(cc))
src\Framework\System\Windows\Documents\Highlights.cs (2)
230Invariant.Assert(!_layers.Contains(highlightLayer)); 248Invariant.Assert(_layers != null && _layers.Contains(highlightLayer));
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1383if (propertyNamesSoFar.Contains(propertyName))
src\Framework\System\Windows\Markup\XmlnsDictionary.cs (1)
514if (!prefixes.Contains(_nsDeclarations[thisDecl].Prefix))
src\Framework\System\Windows\Navigation\NavigationService.cs (5)
766Debug.Assert(ChildNavigationServices.Contains(ncChild), "Child NavigationService must already exist"); 785if (PendingNavigationList.Contains(ncChild)) 2132if (_parentNavigationService.PendingNavigationList.Contains(this)) 2340if (_recursiveNavigateList.Contains(localNavigateQueueItem) == false) 4324if (!_parentNavigationService.PendingNavigationList.Contains(this))
System (9)
compmod\system\codedom\CodeNamespaceImportCollection.cs (1)
187return data.Contains(value);
compmod\system\collections\specialized\stringcollection.cs (1)
92return data.Contains(value);
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
403return _children.Contains(value);
compmod\system\diagnostics\TraceListeners.cs (1)
232return list.Contains(value);
net\System\Net\_AuthenticationManagerDefault.cs (1)
356if (!ModuleList.Contains(authenticationModule))
net\System\Net\_WebProxyDataBuilder.cs (1)
256if (!bypassList.Contains(trimmedBypassString)) {
services\monitoring\system\diagnosticts\ProcessModuleCollection.cs (1)
47return InnerList.Contains(module);
services\monitoring\system\diagnosticts\ProcessThreadCollection.cs (1)
64return InnerList.Contains(thread);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
115if (!categoryData.CounterNames.Contains(counterName))
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
941if (!nextSetOfValues.Contains(expectedValue))
System.Data (17)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
941if (!nextSetOfValues.Contains(expectedValue))
fx\src\data\System\Data\CodeGen\datacache.cs (1)
173if ((table.DataSet.Tables.InternalIndexOf(table.TableName) == -3) && !conflictingTables.Contains(table.TableName)) {
fx\src\data\System\Data\Common\NameValuePermission.cs (2)
89Debug.Assert(entries.Contains(kv._entry), "entries doesn't contain entry"); 104Debug.Assert(entries.Contains(kentry), "entries doesn't contain entry");
fx\src\data\System\Data\XMLDiffLoader.cs (1)
47if (! tables.Contains((DataTable)r.ChildTable)) {
fx\src\data\System\Data\xmlsaver.cs (8)
261if (!_tables.Contains((DataTable)(((ForeignKeyConstraint)constr).RelatedTable))) { 269while (ConstraintNames.Contains(name)) { 417if (! _tables.Contains((DataTable)r.ChildTable)) { 426if (! _relations.Contains((DataRelation)r)) { 1782if (!_tables.Contains(foreign.RelatedTable) || !_tables.Contains(foreign.Table)) 2000if (! _tables.Contains((DataTable)r.ChildTable)) { 2395if (! _dTables.Contains((DataTable)r.ChildTable)) {
fx\src\data\System\Data\XMLSchema.cs (3)
163if (schemaList.Contains(schema)) { 676if (RefTables.Contains(element.QualifiedName.Namespace +":"+ typeName)) { 878if (complexTypes.Contains(ct))
fx\src\data\System\Data\XmlToDatasetMap.cs (1)
393if (!tableList.Contains(childRelations.ChildTable))
System.Drawing (3)
commonui\System\Drawing\Design\CategoryNameCollection.cs (1)
56return InnerList.Contains(value);
commonui\System\Drawing\Design\ToolboxItemCollection.cs (1)
57return InnerList.Contains(value);
misc\ClientUtils.cs (1)
416public bool Contains(object value) { return InnerList.Contains(CreateWeakRefObject(value)); }
System.Management (1)
Instrumentation\Attributes.cs (1)
172if (types.Contains(childType) == false)
System.Security (4)
system\security\cryptography\xml\c14nutil.cs (1)
610return m_nodeArray.Contains(value);
system\security\cryptography\xml\encryptedkey.cs (1)
249return m_references.Contains(value);
system\security\cryptography\xml\encryptedtype.cs (2)
313return m_props.Contains(value); 317return m_props.Contains(value);
System.Web (17)
Compilation\BuildResultCache.cs (1)
112Debug.Assert(!dependentList.Contains(name));
Management\WebEvents.cs (1)
2500return InnerList.Contains(value);
Security\ADMembershipProvider.cs (1)
4276if (possibleSuperiorsList.Contains(objectClassValue))
SiteMapNodeCollection.cs (1)
148return List.Contains(value);
UI\StateManagedCollection.cs (1)
626return _collectionItems.Contains(value);
UI\ValidatorCollection.cs (1)
66return data.Contains(validator);
UI\WebControls\ListItemCollection.cs (1)
138return listItems.Contains(item);
UI\WebParts\CatalogPartCollection.cs (1)
50return InnerList.Contains(catalogPart);
UI\WebParts\ConnectionInterfaceCollection.cs (1)
52return InnerList.Contains(value);
UI\WebParts\ConsumerConnectionPointCollection.cs (1)
64return InnerList.Contains(connectionPoint);
UI\WebParts\EditorPartCollection.cs (1)
37return InnerList.Contains(editorPart);
UI\WebParts\ProviderConnectionPointCollection.cs (1)
65return InnerList.Contains(connectionPoint);
UI\WebParts\TransformerTypeCollection.cs (1)
62return InnerList.Contains(value);
UI\WebParts\WebPartCollection.cs (1)
43return InnerList.Contains(value);
UI\WebParts\WebPartDescriptionCollection.cs (1)
49return InnerList.Contains(value);
UI\WebParts\WebPartVerbCollection.cs (1)
57return InnerList.Contains(value);
UI\WebParts\WebPartZoneCollection.cs (1)
41return InnerList.Contains(value);
System.Web.DataVisualization (15)
Common\ChartTypes\StackedBarChart.cs (1)
602 if(!this.stackGroupNames.Contains(stackGroupName))
Common\ChartTypes\StackedColumnChart.cs (1)
609 if(!this.stackGroupNames.Contains(stackGroupName))
Common\General\Chart.cs (3)
1010 else if(seriesAxisLabels.Contains(point.AxisLabel)) 1015 else if(!axisLabels.Contains(point.AxisLabel)) 3380 if(alignGroup.Contains(changedArea))
Common\General\ChartArea.cs (4)
2969(this.ChartTypes.Contains(ChartTypeNames.Area) 2970|| this.ChartTypes.Contains(ChartTypeNames.SplineArea) 2986if (!processedChartType.Contains(series.ChartTypeName)) 3010if (splitChartType.Contains(series.ChartTypeName))
Common\General\ChartArea3D.cs (4)
990 if(!stackGroupNames.Contains(seriesStackGroupName)) 1088 if(processedStackedGroups.Contains(stackGroupName)) 1122 if(processedChartTypes.Contains(curSeries.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture))) 1683 if(!this._stackGroupNames.Contains(stackGroupName))
Common\General\ChartAreaAxes.cs (1)
1913 seriesXValues[index].Contains(xValue))
Common\General\DataManipulator.cs (1)
2957 if(!uniqueValues.Contains(series.Points[secondPassIndex].YValues[funcIndex-1]))
System.Web.Extensions (1)
UI\ProfileServiceManager.cs (1)
155if((trimmedProperty.Length > 0) && !existingProperties.Contains(trimmedProperty)) {
System.Web.Mobile (3)
UI\MobileControls\MobileListItemCollection.cs (1)
139return Items.Contains (item);
UI\MobileControls\ObjectListItemCollection.cs (1)
98return Items.Contains (item);
UI\MobileControls\UniqueSet.cs (1)
31if (!Contains(o))
System.Web.Services (2)
System\Web\Services\Description\ServiceDescription.cs (2)
1526if (!handledElements.Contains(element)) 1554return handledElements.Contains(element);
System.Windows.Forms (29)
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (1)
143return data.Contains(value);
winforms\Managed\System\WinForms\Control.cs (1)
14887return InnerList.Contains(control);
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (1)
53return items.Contains(value);
winforms\Managed\System\WinForms\DataGridTableCollection.cs (1)
44return items.Contains(value);
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (1)
50return this.items.Contains(value);
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
82return this.items.Contains(value);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (1)
69return this.items.Contains(value);
winforms\Managed\System\WinForms\DataGridViewSelectedCellCollection.cs (1)
48return this.items.Contains(value);
winforms\Managed\System\WinForms\DataGridViewSelectedColumnCollection.cs (1)
45return this.items.Contains(value);
winforms\Managed\System\WinForms\DataGridViewSelectedRowCollection.cs (1)
48return this.items.Contains(value);
winforms\Managed\System\WinForms\DataObject.cs (1)
484if (!distinct.Contains(s)) {
winforms\Managed\System\WinForms\Form.cs (3)
4227if (!zoneList.Contains(zoneName)) 4294if (loadedAssembliesFromGac.Contains(currentSite.AbsoluteUri.ToUpper(CultureInfo.InvariantCulture))) 4301if (hostName.Length > 0 && !siteList.Contains(hostName))
winforms\Managed\System\WinForms\FormCollection.cs (1)
80inCollection = InnerList.Contains(form);
winforms\Managed\System\WinForms\InputLanguageCollection.cs (1)
46return InnerList.Contains(value);
winforms\Managed\System\WinForms\Layout\ArrangedElementCollection.cs (1)
119bool IList.Contains(object value) { return InnerList.Contains(value); }
winforms\Managed\System\WinForms\LinkLabel.cs (1)
2205return owner.links.Contains(link);
winforms\Managed\System\WinForms\ListView.cs (1)
9077return owner.listItemsArray.Contains(item);
winforms\Managed\System\WinForms\ListViewGroup.cs (2)
383if (this.List.Contains(value)) { 548return this.List.Contains(value);
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
117return Items.Contains(item);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
1189if (!this.arrayOfDates.Contains(date)) {
winforms\Managed\System\WinForms\TableLayoutStyleCollection.cs (1)
109bool IList.Contains(object style) { return _innerList.Contains(style); }
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (2)
182return InnerList.Contains(value); 342bool IList.Contains(object value) { return InnerList.Contains(value); }
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
1417return InnerList.Contains(value); 1442bool IList.Contains(object value) { return InnerList.Contains(value); }
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
2152bool IList.Contains(object value) { return InnerList.Contains(value); }
System.Windows.Forms.DataVisualization (14)
Common\ChartTypes\StackedBarChart.cs (1)
602 if(!this.stackGroupNames.Contains(stackGroupName))
Common\ChartTypes\StackedColumnChart.cs (1)
609 if(!this.stackGroupNames.Contains(stackGroupName))
Common\General\Chart.cs (3)
1010 else if(seriesAxisLabels.Contains(point.AxisLabel)) 1015 else if(!axisLabels.Contains(point.AxisLabel)) 3380 if(alignGroup.Contains(changedArea))
Common\General\ChartArea.cs (4)
2969(this.ChartTypes.Contains(ChartTypeNames.Area) 2970|| this.ChartTypes.Contains(ChartTypeNames.SplineArea) 2986if (!processedChartType.Contains(series.ChartTypeName)) 3010if (splitChartType.Contains(series.ChartTypeName))
Common\General\ChartArea3D.cs (3)
990 if(!stackGroupNames.Contains(seriesStackGroupName)) 1088 if(processedStackedGroups.Contains(stackGroupName)) 1683 if(!this._stackGroupNames.Contains(stackGroupName))
Common\General\ChartAreaAxes.cs (1)
1913 seriesXValues[index].Contains(xValue))
Common\General\DataManipulator.cs (1)
2957 if(!uniqueValues.Contains(series.Points[secondPassIndex].YValues[funcIndex-1]))
System.Workflow.Activities (10)
Common\CompModHelpers.cs (2)
251if (!nestedActivities.Contains(activity)) 855if (!references.Contains(assemblyName))
Common\TypeSystemHelpers.cs (2)
129if ((parseTypeNameLanguage == ParseTypeNameLanguage.CSharp) && CSKeywords.Contains(typeName)) 131else if ((parseTypeNameLanguage == ParseTypeNameLanguage.VB) && VBKeywords.Contains(typeName))
CorrelationValidator.cs (2)
483if (parameterAttrs.Contains(parameterAttribute.Name)) 570if (!parameterAttrs.Contains(paramName))
InvokeSchedule.cs (1)
288if (InvokeWorkflowActivity.ReservedParameterNames.Contains(paramBinding.ParameterName))
InvokeWebService.cs (3)
407prop = new ParameterInfoBasedPropertyDescriptor(typeof(InvokeWebServiceActivity), paramInfo, InvokeWebServiceActivity.ReservedParameterNames.Contains(paramInfo.Name), DesignOnlyAttribute.Yes); 482if (InvokeWebServiceActivity.ReservedParameterNames.Contains(paramName)) 497if (InvokeWebServiceActivity.ReservedParameterNames.Contains(paramName))
System.Workflow.ComponentModel (22)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
543if ((interfaceCandidate.IsInterface == true) && (!types.Contains(interfaceCandidate))) 551if ((baseInterfaceCandidate != null) && (!types.Contains(baseInterfaceCandidate)))
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
247if (!(baseAttribute is AttributeInfoAttribute) || (!attributeTypes.Contains(((AttributeInfoAttribute)baseAttribute).AttributeInfo.AttributeType)))
AuthoringOM\DependencyObject.cs (1)
391if (eventListeners.Contains(value))
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
879if ((namespaceToFilter == null || type.Namespace == namespaceToFilter) && ((selectedAssemblies.Count == 0 && type.Assembly == null) || selectedAssemblies.Contains(type.Assembly)) && (this.typeFilterProvider == null || this.typeFilterProvider.CanFilterType(extendedUIService != null ? extendedUIService.GetRuntimeType(type) : type, false)))
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
788if (topLevelActivities.Contains(parentActivity))
AuthoringOM\Design\ReferenceService.cs (3)
145if ((this.addedComponents == null || !this.addedComponents.Contains(comp)) && 146(this.removedComponents == null || !this.removedComponents.Contains(comp))) 153else if (!this.changedComponents.Contains(comp))
AuthoringOM\Design\Themes.cs (4)
3070Debug.Assert(supportedFonts.Contains(this.fontName)); 3071if (!supportedFonts.Contains(this.fontName)) 3093Debug.Assert(supportedFonts.Contains(this.fontName)); 3094if (!supportedFonts.Contains(this.fontName))
AuthoringOM\Design\WorkflowInlining.cs (1)
404PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(Type.GetType(InvokeWorkflowRef), parameterProperty.Name, parameterProperty.PropertyType, ReservedParameterNames.Contains(parameterProperty.Name), DesignOnlyAttribute.Yes);
AuthoringOM\Design\WorkflowPrinting.cs (1)
99new ArrayList(PrinterSettings.InstalledPrinters).Contains(PrinterSettings.PrinterName));
AuthoringOM\Serializer\ActivitySurrogate.cs (2)
123if (Activity.ActivityRoots.Contains(activity)) 150isSurrounding = (!isDangling && !Activity.ActivityRoots.Contains(activity));
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
171if (propertiesSerialized.Contains(dependencyProperty))
Shared\CompModHelpers.cs (2)
249if (!nestedActivities.Contains(activity)) 853if (!references.Contains(assemblyName))
Shared\TypeSystemHelpers.cs (2)
128if ((parseTypeNameLanguage == ParseTypeNameLanguage.CSharp) && CSKeywords.Contains(typeName)) 130else if ((parseTypeNameLanguage == ParseTypeNameLanguage.VB) && VBKeywords.Contains(typeName))
System.WorkflowServices (2)
System\Workflow\Activities\ChannelTokenTypeConverter.cs (1)
90if (endpoint != null && !values.Contains(endpoint))
System\Workflow\Activities\ContextTokenTypeConverter.cs (1)
90if (contextToken != null && !values.Contains(contextToken))
System.Xml (26)
System\Xml\Schema\ContentValidator.cs (5)
941if (!particles.Contains(p)) { 953if (!elem.QualifiedName.Equals(member.QualifiedName) && !particles.Contains(member)) { //A member might have been directly present as an element in the content model 1485if (!names.Contains(s)) { 1615if (!names.Contains(s)) { 1883if (!names.Contains(s)) {
System\Xml\Schema\Preprocessor.cs (8)
276if (!schema.ImportedNamespaces.Contains(importNS)) { 606if (!imports.Contains(includedSchema)) { // 609if (!rootSchema.ImportedNamespaces.Contains(importNS)) { 747if (originalGroup == null || (parentSchema != originalSchema && !includesOfRedefine.Contains(parentSchema)) ) { 768if (originalAttrGroup == null || (parentSchema != originalSchema && !includesOfRedefine.Contains(parentSchema)) ) { 789if (originalType == null || (parentSchema != originalSchema && !includesOfRedefine.Contains(parentSchema)) ) { 813if (originalType == null || (parentSchema != originalSchema && !includesOfRedefine.Contains(parentSchema)) ) { 830if (includesList.Contains(schema)) {
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
48Debug.Assert(!members.Contains(element)); 346if (substitutionGroup.Members.Contains(examplar)) {// already checked
System\Xml\Schema\SchemaSetCompiler.cs (2)
370if (!members.Contains(element)) { //Members might contain element if the same schema is included and imported through different paths. Imp, hence will be added to set directly 389if (substitutionGroup.Members.Contains(examplar)) {// already checked
System\Xml\Schema\XmlSchemaSet.cs (8)
464schemaToRemove.ImportedSchemas.Contains(mainSchema)) { 476if (mainSchema.ImportedNamespaces.Contains(tns)) { 957if (!oldSubstGroup.Members.Contains(substGroup.Members[i])) { 971if (substitutionGroup.Members.Contains(headElement)) {// already checked 1128if (!existingSchemas.Contains(schemaToRemove)) { 1133if(!existingSchemas.Contains((XmlSchema)elementToRemove.Parent)) { 1138if(!existingSchemas.Contains((XmlSchema)attributeToRemove.Parent)) { 1143if(!existingSchemas.Contains((XmlSchema)schemaTypeToRemove.Parent)) {
System\Xml\Serialization\ImportContext.cs (1)
263if (list.Contains(o))
UIAutomationClient (2)
System\Windows\Automation\CacheRequest.cs (2)
256if (!_properties.Contains(property)) 274if (!_patterns.Contains(pattern))