Implemented interface member:
method
Contains
System.Collections.Generic.ICollection<T>.Contains(T)
56 references to Contains
mscorlib (1)
system\collections\objectmodel\readonlycollection.cs (1)
210return Contains((T) value);
System.Activities (2)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
824if (lambdaParameters != null && lambdaParameters.Contains(variableExpression))
System\Activities\ActivityInstance.cs (1)
1736Fx.Assert(!this.current.Parent.GetChildren().Contains(this.current), "We should always have removed the current one from the parent's list by now.");
System.Core (2)
Microsoft\Scripting\Compiler\CompilerScope.cs (2)
314if (IsMethod && lc.Parameters.Contains(v)) { 422if (IsMethod && lc.Parameters.Contains(v)) {
System.Data.Entity (15)
System\Data\Common\Utils\MetadataHelper.cs (1)
701return ((EntityType)member.DeclaringType).KeyMembers.Contains(member);
System\Data\Mapping\StorageMappingItemCollection.cs (1)
772if (MetadataHelper.CheckIfAllErrorsAreWarnings(errors) && !this.Contains(containerMapping))
System\Data\Mapping\StorageMappingItemLoader.cs (2)
3153if (!containerType.KeyMembers.Contains(scalarMap.EdmProperty)) 4077constraint.ToProperties.All(p => m_entitySet.ElementType.KeyMembers.Contains(p)))
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
311if (entitySet.ElementType.KeyMembers.Contains(dependentProperty))
System\Data\Mapping\ViewValidator.cs (1)
233return cTypeFunctions.Contains(function);
System\Data\Metadata\Edm\EntityType.cs (2)
107Debug.Assert(Members.Contains(member)); 120Debug.Assert(Members.Contains(member));
System\Data\Metadata\Edm\EntityTypeBase.cs (1)
104if (!Members.Contains(member))
System\Data\Metadata\MappingMetadataHelper.cs (1)
62if (mapping.IsOfTypes.Any(parentType => parentType.IsAssignableFrom(childEntityType)) || mapping.Types.Contains(childEntityType))
System\Data\Metadata\TypeSemantics.cs (2)
601return ((RelationshipType)edmMember.DeclaringType).KeyMembers.Contains(edmMember); 611return ((EntityTypeBase)edmMember.DeclaringType).KeyMembers.Contains(edmMember);
System\Data\Objects\ELinq\Funcletizer.cs (1)
279return _compiledQueryParameters.Contains(parameter);
System\Data\Objects\ObjectStateManagerMetadata.cs (1)
191_members[i] = new StateManagerMemberMetadata(memberMap, member, ((null != keyMembers) && keyMembers.Contains(member)));
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1218instanceType.KeyMembers.Contains(propertyExpression.Property))
System.Data.Entity.Design (4)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
194return constraint1.ToProperties.Any(c => constraint0.ToProperties.Contains(c));
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
1038return toType.KeyMembers.Contains(storeConstraint.ToProperties[0]);
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
1061toPropertiesAreFullyContainedInPk &= toType.KeyMembers.Contains(edmProperty); 1063toPropertiesContainedAtLeastOnePK |= toType.KeyMembers.Contains(edmProperty);
System.Data.Linq (1)
ChangeTracker.cs (1)
515if (mm.IsAssociation && mm.Association.ThisKey.Contains(key)) {
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1409((EntityType)edmType).KeyMembers.Contains(member))
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
204if (keyAttribute != null && keyAttribute.KeyNames.Contains(property.Name))
System\Data\Services\Serializers\MetadataSerializer.cs (1)
497type.ETagProperties.Contains(resourceProperty))
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2169return expressions.Contains(parameter);
System\Data\Services\Client\ClientType.cs (1)
157bool keyProperty = dska != null ? dska.KeyNames.Contains(pinfo.Name) : false;
System.ServiceModel (6)
System\ServiceModel\Channels\PeerIPHelper.cs (1)
87if (!addresses.Contains(address))
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (2)
469if ( tokenVersion.GetSecuritySpecifications().Contains( WSSecurity11Constants.Namespace ) ) 473else if ( tokenVersion.GetSecuritySpecifications().Contains( WSSecurity10Constants.Namespace ) )
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
446if (kerberosTokenSpecification.SecurityTokenPolicies.Contains(policy))
System\UriTemplate.cs (2)
223if (this.variables.PathSegmentVariableNames.Contains(uppercaseKey)) 227else if (this.variables.QueryValueVariableNames.Contains(uppercaseKey))
System.ServiceModel.Activities (1)
System\ServiceModel\CorrelationQuery.cs (1)
117if (((ActionMessageFilter)query.Where).Actions.Contains(localAction) || localAction == MessageHeaders.WildcardAction)
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\HelpPage.cs (2)
261where !template.PathSegmentVariableNames.Contains(part.Name.ToUpperInvariant()) && !template.QueryValueVariableNames.Contains(part.Name.ToUpperInvariant())
System.Web.DynamicData (2)
DynamicData\ModelProviders\AssociationProvider.cs (1)
114if (!ToTable.Columns.Contains(sortColumn)) {
DynamicData\ModelProviders\EFTableProvider.cs (1)
34EFColumnProvider entityMember = new EFColumnProvider(entityType, this, m, keyMembers.Contains(m));
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceMemberPath.cs (1)
194isKey = entityType.KeyMembers.Contains(property);
System\Data\WebControls\EntityDataSourceUtil.cs (1)
983bool isLocallyInteresting = interestingMembers.Contains(property);
System.Workflow.Activities (5)
ConstrainedGroup.cs (1)
98if (!this.EnabledActivities.Contains(childActivity))
EventHandlers.cs (2)
402if (!handlers.EnabledActivities.Contains(eventDrivenActivity)) 429if (!this.EnabledActivities.Contains(childActivity))
Listen.cs (1)
267if (!parentActivity.EnabledActivities.Contains(eventDrivenActivity))//Activity is dynamically removed.
State.cs (1)
71if (!this.EnabledActivities.Contains(childActivity))
System.Workflow.ComponentModel (5)
AuthoringOM\Design\FreeFormDesigner.cs (5)
483if (!ContainedDesigners.Contains(containedDesigner)) 499if (!ContainedDesigners.Contains(containedDesigner)) 515if (!ContainedDesigners.Contains(containedDesigner)) 534if (!ContainedDesigners.Contains(containedDesigner)) 560else if (containedDesigners.Contains(hitInfo.AssociatedDesigner))
System.Workflow.Runtime (2)
WorkflowRuntime.cs (2)
893if (GetAllServices(service.GetType()).Contains(service)) 965if (!GetAllServices(service.GetType()).Contains(service))
System.WorkflowServices (1)
System\Workflow\ComponentModel\Design\DesignerPainter.cs (1)
79if (!((CompositeActivityDesigner) parentDesigner).ContainedDesigners.Contains(currentDesigner))