19 references to First
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
141
newKeyItem = dictionary.Keys.
First
<ModelItem>(p => object.Equals(p.GetCurrentValue(), newKey));
System.Core (1)
System\Linq\ParallelEnumerable.cs (1)
5500
.
First
(ExceptionAggregator.WrapFunc<TSource, bool>(predicate, settings.CancellationState));
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
141
newKeyItem = dictionary.Keys.
First
<ModelItem>(p => object.Equals(p.GetCurrentValue(), newKey));
System.Data.Entity (5)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
720
LeftCellWrapper fragment = _context.AllWrappersForExtent.
First
(lcr => lcr.FragmentQuery.Equals(toFill.Query));
1188
LeftCellWrapper leftCellWrapper = context.AllWrappersForExtent.
First
(w => w.FragmentQuery == view);
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (3)
546
navigationProperty.ToEndMember = (RelationshipEndMember)((RelationshipType)ospaceRelationship).Members.
First
(e => e.Name == cspaceProperty.ToEndMember.Name);
547
navigationProperty.FromEndMember = (RelationshipEndMember)((RelationshipType)ospaceRelationship).Members.
First
(e => e.Name == cspaceProperty.FromEndMember.Name);
552
EntityTypeBase missingType = cspaceProperty.RelationshipType.RelationshipEndMembers.Select(e => ((RefType)e.TypeUsage.EdmType).ElementType).
First
(e => e != cspaceType);
System.Data.Services (7)
System\Data\Services\DataService.cs (1)
1534
ResourceProperty resProperty = openTypeParentResourceType.Properties.
First
(p => p.Name == currentSegment.Identifier);
System\Data\Services\Providers\BasicExpandProvider.cs (6)
44
.
First
(m => m.Name == "OrderBy" && m.IsGenericMethod == true && m.GetParameters().Count() == 2);
49
.
First
(m => m.Name == "ThenBy" && m.IsGenericMethod == true && m.GetParameters().Count() == 2);
54
.
First
(m => m.Name == "OrderByDescending" && m.IsGenericMethod == true && m.GetParameters().Count() == 2);
59
.
First
(m => m.Name == "ThenByDescending" && m.IsGenericMethod == true && m.GetParameters().Count() == 2);
64
.
First
(m => m.Name == "Skip" && m.IsGenericMethod == true && m.GetParameters().Count() == 2);
69
.
First
(m => m.Name == "Take" && m.IsGenericMethod == true && m.GetParameters().Count() == 2);
System.Data.Services.Client (1)
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
845
nex.Type.GetConstructors(BindingFlags.NonPublic | BindingFlags.Instance).
First
(
System.ServiceModel (1)
System\ServiceModel\Description\WsdlHelper.cs (1)
73
WsdlNS.ServiceDescription singleWsdl = wsdls.
First
(wsdl => wsdl.PortTypes.Count > 0);
System.Web.DynamicData (2)
DynamicData\ModelProviders\DLinqAssociationProvider.cs (1)
88
return (DLinqColumnProvider)table.Columns.
First
(member => member.Name.Equals(columnName));
DynamicData\ModelProviders\DLinqDataModelProvider.cs (1)
38
return context.Mapping.GetTables().
First
(t => t.RowType.Type == entityType);