31 references to Distinct
System.Activities (3)
System\Activities\Statements\Flowchart.cs (1)
195IEnumerable<FlowNode> childrenNodes = this.ValidateUnconnectedNodes ? this.Nodes.Distinct() : this.reachableNodes;
System\Activities\Statements\StateMachine.cs (2)
440IEnumerable<State> distinctStates = this.states.Distinct(); 517IEnumerable<State> distinctStates = this.States.Distinct();
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
399displayName => !string.IsNullOrEmpty(displayName)).Distinct());
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertiesService.cs (1)
45properties = properties.Concat(propertiesFromGenericRoot).Distinct();
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
545foreach (ModelItem item in modelItemsRemoved.Distinct())
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
832foreach (ModelItem item in removedItems.Distinct())
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
1011foreach (ModelItem modelItem in collection.Distinct()) 1026foreach (ModelItem modelItem in items.Distinct())
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertiesService.cs (1)
45properties = properties.Concat(propertiesFromGenericRoot).Distinct();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
545foreach (ModelItem item in modelItemsRemoved.Distinct())
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
832foreach (ModelItem item in removedItems.Distinct())
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
1011foreach (ModelItem modelItem in collection.Distinct()) 1026foreach (ModelItem modelItem in items.Distinct())
System.Data.Entity (8)
System\Data\Common\EntityUtil.cs (1)
1624.Distinct();
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
96int candidateUniqueTermCount = simplifiedCandidate.GetTerms().Distinct().Count();
System\Data\Common\Utils\MetadataHelper.cs (1)
345.Distinct();
System\Data\Mapping\FunctionImportMapping.cs (2)
79.Distinct() 86.Distinct()
System\Data\Mapping\StorageMappingItemCollection.cs (1)
508return new ReadOnlyCollection<EdmMember>(interestingMembers.Distinct().ToList());
System\Data\Mapping\StorageMappingItemLoader.cs (1)
1982IEnumerable<StructuralType> currentTypesInHierachy = isOfTypeEntityTypes.Concat(entityTypes).Distinct().OfType<StructuralType>();
System\Data\Mapping\ViewValidator.cs (1)
165IEnumerable<EdmProperty> properties = GetEntityTypes().SelectMany(entityType => entityType.Properties).Distinct();
System.Data.Linq (2)
Mapping\AttributedMetaModel.cs (1)
116return this.metaTables.Values.Where(x => x != null).Distinct();
Mapping\MappedMetaModel.cs (1)
169return this.metaTables.Values.Where(x => x != null).Distinct();
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\PathBox.cs (2)
53return projectionPaths.Where(s => s.Length > 0).Select(s => s.ToString()).Distinct(); 61return expandPaths.Where(s => s.Length > 0).Select(s => s.ToString()).Distinct();
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (2)
97foreach (string namespaceName in (from x in this.Generator.EdmItemCollection.GetItems<EdmType>() select x.NamespaceName).Distinct()) 260.Distinct()
System.Web (3)
Compilation\BuildManager.cs (3)
870.Distinct() 893var methodsToExecute = methods.Distinct(); 1367.Distinct();