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