161 implementations of Contains
mscorlib (16)
system\arraysegment.cs (1)
233bool ICollection<T>.Contains(T item)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
1420bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> keyValuePair)
system\collections\generic\dictionary.cs (3)
199bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> keyValuePair) { 852bool ICollection<TKey>.Contains(TKey item){ 1044bool ICollection<TValue>.Contains(TValue item){
system\collections\generic\list.cs (2)
316public bool Contains(T item) { 1077public bool Contains(T item) {
system\collections\objectmodel\collection.cs (1)
82public bool Contains(T item) {
system\collections\objectmodel\readonlycollection.cs (1)
42public bool Contains(T value) {
system\collections\objectmodel\readonlydictionary.cs (3)
123bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item) { 381bool ICollection<TKey>.Contains(TKey item) 480bool ICollection<TValue>.Contains(TValue item)
System\Diagnostics\Eventing\TraceLogging\EventPayload.cs (1)
74public bool Contains(KeyValuePair<string, object> entry)
system\runtime\interopservices\windowsruntime\dictionarykeycollection.cs (1)
66public bool Contains(TKey item)
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (1)
69public bool Contains(TValue item)
system\security\principal\ircollection.cs (1)
100public bool Contains( IdentityReference identity )
PresentationCore (41)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
796public bool Contains(KeyValuePair<int, ushort> item)
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
63public bool Contains(Typeface item)
Core\CSharp\MS\Internal\PartialArray.cs (1)
63public bool Contains(T item)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
180public bool Contains(double item)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
121public bool Contains(Point item)
Core\CSharp\System\Windows\FreezableCollection.cs (1)
205public bool Contains(T value)
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
117public bool Contains(TextDecoration value)
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
125public bool Contains(Timeline value)
Core\CSharp\System\Windows\Media\Animation\TimelineClockCollection.cs (1)
98public bool Contains(Clock item)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
123public bool Contains(KeyValuePair<int, CharacterMetrics> item)
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
115public bool Contains(KeyValuePair<XmlLanguage, string> item)
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
124public bool Contains(BitmapEffect value)
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (1)
80public bool Contains(FontFamilyMap item)
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (1)
93public bool Contains(FamilyTypeface item)
Core\CSharp\System\Windows\Media\Fonts.cs (1)
330public bool Contains(Typeface item)
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
120public bool Contains(double value)
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
138public bool Contains(Drawing value)
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
126public bool Contains(GeneralTransform value)
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
138public bool Contains(Geometry value)
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
126public bool Contains(GradientStop value)
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
120public bool Contains(int value)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
127public bool Contains(PathFigure value)
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
126public bool Contains(PathSegment value)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
120public bool Contains(Point value)
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
126public bool Contains(TextEffect value)
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
138public bool Contains(Transform value)
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
120public bool Contains(Vector value)
Core\CSharp\System\Windows\Media\GlyphRun.cs (2)
2180public bool Contains(bool item) 2282public bool Contains(ushort item)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
2190public bool Contains(KeyValuePair<ushort, double> item) 2274public bool Contains(double item)
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
122public bool Contains(GeneralTransform3D value)
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
134public bool Contains(Material value)
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
134public bool Contains(Model3D value)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
116public bool Contains(Point3D value)
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
134public bool Contains(Transform3D value)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
116public bool Contains(Vector3D value)
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
209public bool Contains(Visual3D value)
Shared\MS\Internal\CharacterBuffer.cs (1)
115public bool Contains(char item)
Shared\MS\Internal\PartialList.cs (1)
129public bool Contains(T item)
Shared\MS\Internal\SequentialUshortCollection.cs (1)
46public bool Contains(ushort item)
PresentationFramework (17)
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (1)
171bool ICollection<KeyValuePair<string, string>>.Contains(KeyValuePair<string, string> pair)
src\Framework\MS\Internal\Data\RBTree.cs (1)
572public bool Contains(T item)
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
181public bool Contains(TItem item)
src\Framework\MS\Internal\ListOfObject.cs (1)
64bool ICollection<object>.Contains(object item)
src\Framework\MS\Internal\WeakDictionary.cs (3)
49public bool Contains(KeyType item) 136public bool Contains(ValueType item) 279public bool Contains(KeyValuePair<TKey, TValue> item)
src\Framework\MS\Internal\WeakHashSet.cs (1)
39public bool Contains(T item)
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (1)
186bool ICollection<Uri>.Contains(Uri item)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
127public bool Contains(DataGridCellInfo cell)
src\Framework\System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
125public bool Contains(XmlNamespaceMapping mapping)
src\Framework\System\Windows\Documents\TableCellCollection.cs (1)
144public bool Contains(TableCell item)
src\Framework\System\Windows\Documents\TableColumnCollection.cs (1)
145public bool Contains(TableColumn item)
src\Framework\System\Windows\Documents\TableRowCollection.cs (1)
144public bool Contains(TableRow item)
src\Framework\System\Windows\Documents\TableRowGroupCollection.cs (1)
144public bool Contains(TableRowGroup item)
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
124public bool Contains(TextElementType item)
src\Framework\System\Windows\TriggerActionCollection.cs (1)
114public bool Contains(TriggerAction value)
System (16)
compmod\system\collections\generic\linkedlist.cs (1)
170public bool Contains(T value) {
compmod\system\collections\generic\sorteddictionary.cs (3)
51bool ICollection<KeyValuePair<TKey,TValue>>.Contains(KeyValuePair<TKey,TValue> keyValuePair) { 542bool ICollection<TKey>.Contains(TKey item){ 697bool ICollection<TValue>.Contains(TValue item){
compmod\system\collections\generic\sortedlist.cs (3)
189bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> keyValuePair) { 951public bool Contains(TKey key) { 1051public bool Contains(TValue value) {
compmod\system\collections\generic\sortedset.cs (1)
574public virtual bool Contains(T item) {
compmod\system\collections\specialized\stringdictionary.cs (2)
309bool ICollection<KeyValuePair<string, string>>.Contains(KeyValuePair<string, string> item) { 401public bool Contains(string item) {
net\System\Net\HttpListenerPrefixCollection.cs (1)
99public bool Contains(string uriPrefix) {
net\System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
52public virtual bool Contains(GatewayIPAddressInformation address) {
net\System\Net\NetworkInformation\IPAddressCollection.cs (1)
42public virtual bool Contains(IPAddress address) {
net\System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
45public virtual bool Contains(IPAddressInformation address) {
net\System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
45public virtual bool Contains(MulticastIPAddressInformation address) {
net\System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
45public virtual bool Contains(UnicastIPAddressInformation address) {
System.Activities (2)
System\Activities\Hosting\SymbolResolver.cs (1)
123public bool Contains(KeyValuePair<string, object> item)
System\Activities\HybridDictionary.cs (1)
204public bool Contains(KeyValuePair<TKey, TValue> item)
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
120public abstract bool Contains(ModelItem item);
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
407bool ICollection<KeyValuePair<ModelItem, ModelItem>>.Contains(KeyValuePair<ModelItem, ModelItem> item) {
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
159public bool Contains(KeyValuePair<K, V> item)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
61public bool Contains(ToolboxCategory item)
System.AddIn (2)
System\Addin\Hosting\ReadOnlyDictionary.cs (1)
88public bool Contains(KeyValuePair<TKey, TValue> keyValuePair)
System\Addin\Pipeline\ContractListAdapter.cs (1)
66public bool Contains(U item)
System.Core (10)
Microsoft\Scripting\Actions\ExpandoObject.cs (3)
347public bool Contains(string item) { 463public bool Contains(object item) { 626bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> item) {
Microsoft\Scripting\Ast\BlockExpression.cs (1)
559public bool Contains(Expression item) {
Microsoft\Scripting\Ast\ListArgumentProvider.cs (1)
94public bool Contains(Expression item) {
Microsoft\Scripting\Compiler\Set.cs (1)
66public bool Contains(T item) {
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
217public bool Contains(T item) {
System\Collections\Generic\HashSet.cs (1)
259public bool Contains(T item) {
System\Linq\Enumerable.cs (1)
2343bool ICollection<TElement>.Contains(TElement item) {
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
125bool ICollection<T>.Contains(T item)
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
120public abstract bool Contains(ModelItem item);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
407bool ICollection<KeyValuePair<ModelItem, ModelItem>>.Contains(KeyValuePair<ModelItem, ModelItem> item) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
159public bool Contains(KeyValuePair<K, V> item)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
61public bool Contains(ToolboxCategory item)
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (1)
192bool ICollection<T>.Contains(T value) {
System.Data.Entity (5)
System\Data\Common\Utils\ThreadSafeList.cs (1)
150public bool Contains(T item)
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
128public bool Contains(IRelationshipEnd end)
System\Data\Metadata\Edm\MetadataCollection.cs (1)
454public bool Contains(T item)
System\Data\Objects\DataClasses\EntityCollection.cs (1)
690public bool Contains(TEntity entity)
System\Data\Objects\ObjectParameterCollection.cs (1)
249public bool Contains (ObjectParameter parameter)
System.Data.Linq (2)
ChangeConflicts.cs (1)
62public bool Contains(ObjectChangeConflict item) {
Types.cs (1)
283public bool Contains(TEntity entity) {
System.Data.SqlXml (4)
System\Xml\Xsl\ListBase.cs (1)
33public virtual bool Contains(T value) {
System\Xml\Xsl\QIL\QilNode.cs (1)
156public virtual bool Contains(QilNode node) {
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
186public bool Contains(T value) { 625bool ICollection<XPathItem>.Contains(XPathItem value) {
System.IO.Log (1)
System\IO\Log\ReservationCollection.cs (1)
140public bool Contains(long size)
System.Runtime.DurableInstancing (1)
System\Runtime\PersistencePipeline.cs (1)
349public bool Contains(KeyValuePair<XName, object> item)
System.ServiceModel (16)
System\ServiceModel\Channels\ContextDictionary.cs (1)
131public bool Contains(KeyValuePair<string, string> item)
System\ServiceModel\Channels\MessageProperties.cs (1)
776bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> pair)
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
234public bool Contains(TServiceModelExtensionElement element)
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (1)
155public bool Contains(KeyValuePair<MessageFilter, TFilterData> item)
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (1)
114public bool Contains(KeyValuePair<MessageFilter, FilterData> item)
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (1)
275public bool Contains(KeyValuePair<MessageFilter, TFilterData> item)
System\ServiceModel\Dispatcher\MessageFilter.cs (1)
289bool ICollection<KeyValuePair<MessageFilter, FilterData>>.Contains(KeyValuePair<MessageFilter, FilterData> item)
System\ServiceModel\Dispatcher\MessageFilterTable.cs (1)
221public bool Contains(KeyValuePair<MessageFilter, TFilterData> item)
System\ServiceModel\Dispatcher\MessageQueryTable.cs (1)
96public bool Contains(KeyValuePair<MessageQuery, TItem> item)
System\ServiceModel\Dispatcher\ThreadSafeMessageFilterTable.cs (1)
233bool ICollection<KeyValuePair<MessageFilter, FilterData>>.Contains(KeyValuePair<MessageFilter, FilterData> item)
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (1)
198public bool Contains(KeyValuePair<MessageFilter, TFilterData> item)
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
212public bool Contains(KeyValuePair<MessageFilter, FilterData> item)
System\ServiceModel\ServiceChannelManager.cs (1)
466public bool Contains(IChannel channel)
System\ServiceModel\SynchronizedCollection.cs (1)
119public bool Contains(T item)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
90public bool Contains(T value)
System\UriTemplate.cs (1)
1094public bool Contains(KeyValuePair<string, string> item)
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (1)
193public bool Contains(WorkflowService item)
System.ServiceModel.Internals (5)
System\Runtime\Collections\NullableKeyDictionary.cs (3)
152public bool Contains(KeyValuePair<TKey, TValue> item) 258public bool Contains(TypeKey item) 333public bool Contains(TypeValue item)
System\Runtime\Collections\OrderedDictionary.cs (1)
139public bool Contains(KeyValuePair<TKey, TValue> item)
System\Runtime\ReadOnlyDictionaryInternal.cs (1)
86public bool Contains(KeyValuePair<TKey, TValue> item)
System.ServiceModel.Routing (1)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (1)
275public bool Contains(KeyValuePair<MessageFilter, TFilterData> item)
System.Web (4)
ModelBinding\ModelBinderDictionary.cs (1)
85public bool Contains(KeyValuePair<Type, IModelBinder> item) {
ModelBinding\ModelStateDictionary.cs (1)
86public bool Contains(KeyValuePair<string, ModelState> item) {
Routing\RouteValueDictionary.cs (1)
122bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> item) {
UI\WebControls\MethodParametersDictionary.cs (1)
169bool ICollection<KeyValuePair<string, MethodParameterValue>>.Contains(KeyValuePair<string, MethodParameterValue> item) {
System.Web.Extensions (1)
Util\OrderedDictionary.cs (1)
125bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item) {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NumericUpDownAccelerationCollection.cs (1)
63public bool Contains(NumericUpDownAcceleration acceleration)
System.Workflow.ComponentModel (2)
AuthoringOM\ActivitiesCollection.cs (1)
116bool ICollection<Activity>.Contains(Activity item)
AuthoringOM\ItemList.cs (1)
183bool ICollection<T>.Contains(T item)
System.WorkflowServices (2)
System\ServiceModel\SerializableReadOnlyDictionary.cs (1)
95public bool Contains(KeyValuePair<K, V> item)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
191bool ICollection<OperationParameterInfo>.Contains(OperationParameterInfo item)
WindowsBase (2)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
56public bool Contains(T value) {
Base\System\Windows\NameScope.cs (1)
286public bool Contains(KeyValuePair<string, object> item)
164 references to Contains
mscorlib (7)
system\collections\objectmodel\collection.cs (1)
83return items.Contains(item);
system\collections\objectmodel\keyedcollection.cs (1)
96return Items.Contains(item);
system\collections\objectmodel\readonlycollection.cs (1)
43return list.Contains(value);
system\collections\objectmodel\readonlydictionary.cs (3)
124return m_dictionary.Contains(item); 383return m_collection.Contains(item); 482return m_collection.Contains(item);
system\threading\Tasks\TaskScheduler.cs (1)
584if (!schedulers.Contains(s_defaultTaskScheduler))
PresentationCore (6)
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (3)
32&& !newAnimationClocks.Contains(null))); 122Debug.Assert(!animationClocks.Contains(null)); 189Debug.Assert(!newAnimationClocks.Contains(null));
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (2)
600Debug.Assert(!animationClocks.Contains(null), 713Debug.Assert(!animationClocks.Contains(null));
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
117return _innerDictionary.Contains(item);
PresentationFramework (16)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
143if (!list.Contains(node))
src\Framework\MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
247if (currentList.Contains(newComponent))
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
381if (!res.Contains(highlightSegment)) 856if (!r2.Contains(r1[i]))
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (1)
173return ((ICollection<KeyValuePair<string, string>>)_nameValues).Contains(pair);
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
727if (!usedDPs.Contains(dp))
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1468shouldWrap = IListIndexerWhitelist.Contains(type);
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
1060if ( !elements2.Contains(e) )
src\Framework\System\Windows\Annotations\AnnotationService.cs (1)
1049if ((parent != null) && !processedElements.Contains(parent))
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
817if (allNamespaces.Contains(knownNamespace)) 836if (allNamespaces.Contains(name))
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
548if (columns != null && columns.Contains(cellItemPeer.Column))
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
899if (!_pendingPages.Contains(asyncRequest.Page))
src\Framework\System\Windows\Documents\FixedDocument.cs (3)
768if (!_pendingPages.Contains(Pages[pageNumber])) 1205if (!newHighlightPages.Contains(page)) 1240if (!_pendingPages.Contains(pc))
System (2)
compmod\system\collections\specialized\stringdictionary.cs (1)
343if( !iCollection.Contains(item) ) return false;
net\System\Net\mail\MailAddressParser.cs (1)
228MailBnfHelper.Whitespace.Contains(data[index]) // < local@domain >
System.Activities (27)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (1)
77if (xsCtxReferenceAssemblies.Contains(importReference.EarlyBoundAssembly))
System\Activities\Activity.cs (4)
573return parent.Children.Contains(this) || parent.ImplementationChildren.Contains(this); 1028else if (!referenceTarget.Children.Contains(this) && !referenceTarget.ImportedChildren.Contains(this))
System\Activities\ActivityDelegate.cs (4)
149return parent.Delegates.Contains(this) || parent.ImplementationDelegates.Contains(this); 183else if (!referenceTarget.Delegates.Contains(this) && !referenceTarget.ImportedDelegates.Contains(this))
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
481if (this.builder.DisallowUpdateInside.Contains(currentElement))
System\Activities\DynamicUpdate\UpdateMapMetadata.cs (4)
181isImport = parent.ImportedChildren.Contains(child); 182return isImport || parent.Children.Contains(child); 186isImport = parent.ImportedDelegates.Contains(child.HandlerOf); 187return isImport || parent.Delegates.Contains(child.HandlerOf);
System\Activities\HybridDictionary.cs (1)
212return this.dictionary.Contains(item);
System\Activities\Runtime\ActivityInstanceMap.cs (1)
694if (base.MultipleItems.Contains(reference))
System\Activities\Statements\ExistsInCollection.cs (1)
61return collection.Contains(item);
System\Activities\Statements\Rethrow.cs (1)
106if (parent.ImplementationChildren.Contains(previousActivity))
System\Activities\Tracking\ActivityStateRecord.cs (3)
222bool containsWildcard = variables.Contains("*"); 287bool containsWildcard = arguments.Contains("*"); 326if (wildcard || data.Contains(name))
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
681if (!this.languages.Contains(textExpression.Language))
System\Activities\XamlIntegration\TextExpressionCompiler.cs (5)
398if (!contextDescriptor.Duplicates.Contains(name)) 464if (contextDescriptor.Duplicates.Contains(memberData.Name)) 486if (contextDescriptor.Duplicates.Contains(memberData.Name)) 1677if (descriptor.Duplicates.Contains(valueField.Key)) 1715if (descriptor.Duplicates.Contains(valueField.Key))
System.Activities.Presentation (8)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlTypeWithExtraPropertiesRemoved.cs (2)
26if (this.propertiesToBeRemoved.Contains(name)) 40if (!this.propertiesToBeRemoved.Contains(member.Name))
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
142if (!mergedItemsToPaste.Contains(itemToPaste))
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
375if (!modelItemsOnView.Contains(items[index]))
System.Activities.Presentation\System\Activities\Presentation\Model\GraphManager.cs (4)
32if (reachableVertices.Contains(vertex)) 36if (!reachableVertices.Contains(this.GetDestinationVertexFromBackPointer(backPointer))) 247if (reachableVertices.Contains(vertex)) 265if (isAllVerticesUnreachable || !reachableVertices.Contains(to))
System.AddIn (3)
System\Addin\Hosting\ReadOnlyDictionary.cs (1)
90return m_dictionary.Contains(keyValuePair);
System\Addin\MiniReflection\MiniModule.cs (1)
180bool isGeneric = genericTypeTokens.Contains(targetType);
System\Addin\Pipeline\ListContractAdapter.cs (1)
54return m_list.Contains(m_unwrapper(item));
System.Core (1)
System\Linq\Enumerable.cs (1)
1366if (collection != null) return collection.Contains(value);
System.Data (7)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlTypeWithExtraPropertiesRemoved.cs (1)
26if (this.propertiesToBeRemoved.Contains(name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
142if (!mergedItemsToPaste.Contains(itemToPaste))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
375if (!modelItemsOnView.Contains(items[index]))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GraphManager.cs (4)
32if (reachableVertices.Contains(vertex)) 36if (!reachableVertices.Contains(this.GetDestinationVertexFromBackPointer(backPointer))) 247if (reachableVertices.Contains(vertex)) 265if (isAllVerticesUnreachable || !reachableVertices.Contains(to))
System.Data.Entity (9)
System\Data\Metadata\MetadataArtifactLoaderCompositeFile.cs (1)
276if (uriRegistry.Contains(fullPath))
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (1)
245if (!uriRegistry.Contains(resourceUri))
System\Data\Metadata\MetadataArtifactLoaderFile.cs (1)
50_alreadyLoaded = uriRegistry.Contains(_path);
System\Data\Metadata\MetadataArtifactLoaderResource.cs (1)
42_alreadyLoaded = uriRegistry.Contains(tempPath);
System\Data\Metadata\ObjectItemCollection.cs (1)
426if (!AssemblyCache.ViewGenerationAssemblies.Contains(assembly))
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
720!CacheEntry.ClosureAssemblies.Contains(type.Assembly) &&
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
463!CacheEntry.ClosureAssemblies.Contains(type.Assembly) &&
System\Data\Metadata\TypeSemantics.cs (1)
1163if (types2.Contains(types1[i]))
System\Data\Objects\ObjectView.cs (1)
382itemExists = _viewData.List.Contains((TElement)value);
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1196foreach (EdmMember pkColumn in properties.Where(p => primaryKeys.Contains(p.Name)))
System.Data.Linq (1)
SqlClient\Query\SqlNamer.cs (1)
119return !reservedNames.Contains(name);
System.IdentityModel (1)
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (1)
373if (allowedAudienceUris.Contains(audienceLeftPart))
System.Runtime.Serialization (1)
System\Runtime\Serialization\CollectionDataContract.cs (1)
838return ((IList<Type>)KnownInterfaces).Contains(type);
System.ServiceModel (23)
System\ServiceModel\Channels\ContextDictionary.cs (1)
143return this.dictionaryStore.Contains(item);
System\ServiceModel\Description\MessageContractImporter.cs (3)
455if (bodyPartsFromBindings != null && !bodyPartsFromBindings.Contains(part.Name)) 496if (bodyPartsFromBindings != null && !bodyPartsFromBindings.Contains(part.Name)) 1345else if (!bodyPartsFromBindings.Contains(partName))
System\ServiceModel\Description\SchemaHelper.cs (3)
183return xsdValueTypePrimitives.Contains(typeName.Name); 185return dataContractPrimitives.Contains(typeName.Name); 187return dataContractPrimitives.Contains(typeName.Name);
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (1)
44if (null != opDescription.Messages[0].Action && !this.actionToOperation.Keys.Contains(opDescription.Messages[0].Action))
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (2)
157return ((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item); 474if (((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item))
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (2)
116return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Contains(item); 442if (((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Contains(item))
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (2)
277return ((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item); 784if (((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item))
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
1723if (!rpc.InstanceContext.IncomingChannels.Contains(proxy))
System\ServiceModel\Dispatcher\MessageFilter.cs (1)
291return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Contains(item);
System\ServiceModel\Dispatcher\MessageFilterTable.cs (2)
223return ((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item); 575if (((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item))
System\ServiceModel\Dispatcher\MessageQueryTable.cs (1)
98return ((ICollection<KeyValuePair<MessageQuery, TItem>>) this.dictionary).Contains(item);
System\ServiceModel\Dispatcher\ThreadSafeMessageFilterTable.cs (1)
237return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.table).Contains(item);
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (1)
200return ((IDictionary<MessageFilter, TFilterData>)this.filters).Contains(item);
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
94return this.items.Contains(value);
System\UriTemplate.cs (1)
1096return (this.defaults as ICollection<KeyValuePair<string, string>>).Contains(item);
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\InternalSendMessage.cs (3)
352if (this.CorrelationQuery != null && !correlationQueryBehavior.CorrelationQueries.Contains(this.CorrelationQuery)) 362if (!correlationQueryBehavior.CorrelationQueries.Contains(query)) 993if (correlationBehavior.SendNames.Count == 1 && (correlationBehavior.SendNames.Contains(ContextExchangeCorrelationHelper.CorrelationName)))
System\ServiceModel\Activities\MessagingActivityHelper.cs (1)
230if (!context2.Contains(pair))
System\ServiceModel\Activities\Send.cs (1)
393if (this.internalSend != null && !this.internalSend.ReplyCorrelationQueries.Contains(replyQuery))
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (2)
105if (this.definitionCollection.Values.Contains(workflowService)) 195return this.workflowDefinitionProvider.definitionCollection.Values.Contains(item);
System.ServiceModel.Internals (4)
System\Runtime\Collections\NullableKeyDictionary.cs (3)
167return this.innerDictionary.Contains(item); 260return item == null ? this.nullKeyDictionary.isNullKeyPresent : this.nullKeyDictionary.innerDictionary.Keys.Contains(item); 335return this.nullKeyDictionary.innerDictionary.Values.Contains(item) ||
System\Runtime\ReadOnlyDictionaryInternal.cs (1)
88return this.dictionary.Contains(item);
System.ServiceModel.Routing (1)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (1)
223if (!matchingFilters.Contains(andFilter))
System.Web (4)
ModelBinding\ModelBinderDictionary.cs (1)
86return ((IDictionary<Type, IModelBinder>)_innerDictionary).Contains(item);
ModelBinding\ModelStateDictionary.cs (1)
87return ((IDictionary<string, ModelState>)_innerDictionary).Contains(item);
Routing\RouteValueDictionary.cs (1)
123return ((ICollection<KeyValuePair<string, object>>)_dictionary).Contains(item);
UI\WebControls\MethodParametersDictionary.cs (1)
170return ((ICollection<KeyValuePair<string, MethodParameterValue>>)InnerDictionary).Contains(item);
System.Web.DataVisualization (1)
Common\Formulas\FormulaHelpers.cs (1)
1530if (unmappedFormulaFields.Contains((DataField)seriesField))
System.Web.Extensions (1)
Util\OrderedDictionary.cs (1)
126return ((ICollection<KeyValuePair<TKey, TValue>>)_dictionary).Contains(item);
System.Windows.Forms.DataVisualization (1)
Common\Formulas\FormulaHelpers.cs (1)
1530if (unmappedFormulaFields.Contains((DataField)seriesField))
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
1352listChangeArgs.RemovedItems.Contains(this.ActiveDesigner.Activity))
System.Workflow.ComponentModel (12)
AuthoringOM\ActivitiesCollection.cs (2)
245return ((IList<Activity>)this).Contains(item); 273return (((IList<Activity>)this).Contains((Activity)value));
AuthoringOM\Activity.cs (1)
2347if (e.AddedItems.Contains(parent))
AuthoringOM\ActivityExecutionContextCollection.cs (2)
172if (activeContexts == null || !activeContexts.Contains(childContext.Activity.ContextActivity)) 328if (completedContexts == null || !completedContexts.Contains(contextInfo))
AuthoringOM\Behaviors\SynchronizationScope.cs (1)
138if (realHandle != string.Empty && !synchronizationHandles.Contains(realHandle))
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
726if (designerType != null && !nonpreviewableDesignerTypes.Contains(designerType))
AuthoringOM\Design\FreeFormDesigner.cs (1)
555dragDropManager.DraggedActivities.Contains(hitInfo.AssociatedDesigner.Activity) &&
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (2)
71if (mappedDesigners.Contains(containedDesigner) || isAlternateFlowActivityAttribute) 324if (secondaryViewTypes.Contains(activity.GetType()))
AuthoringOM\ItemList.cs (1)
340return ((IList<T>)this).Contains((T)value);
AuthoringOM\Serializer\ActivitySurrogate.cs (1)
141if (activeContextActivities == null || !activeContextActivities.Contains(activity))
System.Workflow.Runtime (3)
Tracking\TrackingLocation.cs (1)
61return _events.Contains(status);
Tracking\TrackPoint.cs (2)
133if (location.ExecutionStatusEvents.Contains(status)) 154if (location.ExecutionStatusEvents.Contains(status))
System.WorkflowServices (13)
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (1)
67if (!string.IsNullOrEmpty(channel.SessionId) && !result.IncomingChannels.Contains(channel))
System\ServiceModel\Security\SerializableAuthorizationContext.cs (2)
76if (!redBitsKnownType.Contains(claimSetType) && !knownTypes.Contains(claimSetType)) 85if (!redBitsKnownType.Contains(claimType) && !knownTypes.Contains(claimType))
System\ServiceModel\SerializableReadOnlyDictionary.cs (1)
97return this.dictionary.Contains(item);
System\ServiceModel\WorkflowServiceHost.cs (1)
120if (!reflectedContracts.Contains(implementedContract))
System\Workflow\Activities\OperationParameterInfoCollection.cs (2)
168return ((IList<OperationParameterInfo>) this).Contains(item); 265return (((IList<OperationParameterInfo>) this).Contains((OperationParameterInfo) value));
System\Workflow\Activities\ReceiveActivity.cs (6)
525!(requestContext.ContextProperties.Keys.Contains(WellKnownContextProperties.InstanceId))) 675if (!context.ReflectedContracts.Contains(interfaceType)) 692if (!context.ReflectedContracts.Contains(inheritedContractDescription.ContractType)) 951!(requestContext.ContextProperties.Keys.Contains(WellKnownContextProperties.InstanceId))) 1463this.notNullableParameters.Keys.Contains(parameterInfo.Key)) 1678!(requestContext.ContextProperties.Keys.Contains(WellKnownContextProperties.InstanceId)))
WindowsBase (1)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
58return CreateDereferencedList().Contains(value);
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\WrappingXamlSchemaContext.cs (1)
55Fx.Assert(namespaces.Contains(XamlLanguage.Xaml2006Namespace) && xamlType.TypeArguments == null,
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (1)
474if (unresolvedLeafTypeList.Count > 1 || !unresolvedLeafTypeList.Contains(type))