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