111 references to First
System.Activities.Core.Presentation (9)
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (7)
54
ModelItem item = itemsToCopy.
First
();
103
if (itemsToDelete.Count == 1 && itemsToDelete.
First
().ItemType == typeof(Transition))
169
if (itemsToPaste.Count == 1 && itemsToPaste.
First
() is Transition)
279
if (itemsToPaste.Count == 1 && itemsToPaste.
First
() is Transition)
281
if (metaData == null || metaData.Count != 1 || !(metaData.
First
() is string))
287
ModelItem destinationState = FindState(metaData.
First
() as string);
305
Transition pastedTransition = itemsToPaste.
First
() as Transition;
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
1144
ConnectionPointsAdorner adorner = (ConnectionPointsAdorner)adornersRemoved.
First
();
2437
if ((draggedModelItems.Count<ModelItem>() == 1 && StateContainerEditor.IsFinalState(draggedModelItems.
First
<ModelItem>()))
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
389
return droppedObjects.
First
();
523
return draggedModelItems.
First
();
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
141
return (this.Parents.Count() > 0) ? this.Parents.
First
() : null;
170
return (this.sources.Count > 0) ? this.sources.
First
() : null;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
302
return (this.Parents.Count() > 0) ? this.Parents.
First
() : null;
328
return (this.sources.Count > 0) ? this.sources.
First
() : null;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
133
return (this.Parents.Count() > 0) ? this.Parents.
First
() : null;
164
return (this.sources.Count > 0) ? this.sources.
First
() : null;
System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (1)
330
UndoUnit unitToRedo = this.containerUndoUnit.RedoList.
First
();
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
495
DesignTimeArgument wrapper = oldDuplicates.
First
<DesignTimeArgument>();
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
183
DesignTimeVariable wrapper = oldDuplicates.
First
<DesignTimeVariable>();
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1003
ModelItem movedItem = modelItemsToDrag.
First
<ModelItem>();
System.Core (2)
Microsoft\Scripting\Compiler\LabelInfo.cs (1)
171
LabelScopeInfo def = _definitions.
First
();
System\Linq\ParallelEnumerable.cs (1)
5458
.
First
();
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
389
return droppedObjects.
First
();
523
return draggedModelItems.
First
();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
141
return (this.Parents.Count() > 0) ? this.Parents.
First
() : null;
170
return (this.sources.Count > 0) ? this.sources.
First
() : null;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
302
return (this.Parents.Count() > 0) ? this.Parents.
First
() : null;
328
return (this.sources.Count > 0) ? this.sources.
First
() : null;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
133
return (this.Parents.Count() > 0) ? this.Parents.
First
() : null;
164
return (this.sources.Count > 0) ? this.sources.
First
() : null;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (1)
330
UndoUnit unitToRedo = this.containerUndoUnit.RedoList.
First
();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
495
DesignTimeArgument wrapper = oldDuplicates.
First
<DesignTimeArgument>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
183
DesignTimeVariable wrapper = oldDuplicates.
First
<DesignTimeVariable>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1003
ModelItem movedItem = modelItemsToDrag.
First
<ModelItem>();
System.Data.Entity (41)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
439
EdmProperty discriminatorProp = (EdmProperty)((DbPropertyExpression)((DbComparisonExpression)discriminatorPredicates.
First
().Value).Left).Property;
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
466
internal BoolExpr<T_Identifier> Child { get { return Children.
First
(); } }
System\Data\Mapping\FunctionImportMapping.cs (5)
173
Debug.Assert(structuralTypeMappings.
First
() is FunctionImportComplexTypeMapping, "only two types can have renames, complexType and entityType");
179
foreach (var rename in complexTypeMappings.
First
().ColumnsRenameList)
184
complexTypeMappings.
First
().ReturnType,
233
var lineInfo = unreachableEntityType.Value.
First
();
247
var lineInfo = unreachableIsTypeOf.Value.
First
();
System\Data\Mapping\StorageAssociationSetMapping.cs (3)
66
if ((this.TypeMappings.Count != 0) && (this.TypeMappings.
First
().MappingFragments.Count != 0))
68
return this.TypeMappings.
First
().MappingFragments.
First
().TableSet;
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (1)
193
generatedView = extentMappingViews.AllValues.
First
();
System\Data\Mapping\StorageMappingItemLoader.cs (3)
1315
entityType = isOfTypeEntityTypes.
First
();
1320
entityType = entityTypes.
First
();
4316
int ordinal = constraint.FromProperties.IndexOf((EdmProperty)m_members.
First
());
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingSimplifier.cs (1)
142
T_Tile remainingView = remainingViews.
First
();
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (1)
194
ScalarConstant scalar = (ScalarConstant)range.
First
();
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (4)
235
StorageScalarPropertyMapping scalarPropertyMap = scalarPropertyMaps.
First
();
260
StorageMappingFragment mapFragment = colocatedAssociationSetMap.TypeMappings.
First
().MappingFragments.
First
();
272
return otherEnds.
First
();
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (3)
135
return m_mergedCells.
First
();
156
return m_mergedCells.
First
().GetLeftQuery(m_viewTarget).Extent;
195
AssociationSetEnd setEnd = ((AssociationSet)RightExtent).AssociationSetEnds[ends.
First
().Name];
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (2)
594
FragmentQuery fragmentQuery = isLeft ? children.
First
().LeftFragmentQuery : children.
First
().RightFragmentQuery;
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (4)
293
int firstProjectedPosition = projectPositions.
First
();
311
LeftCellWrapper firstLeftCWrapper = nonAssociationWrappers.
First
();
325
leftCellWrapper.Cells.
First
(), ""));
669
var firstMember = members.
First
();
System\Data\Objects\ELinq\CompiledELinqQueryState.cs (2)
218
Funcletizer funcletizer = Funcletizer.CreateCompiledQueryEvaluationFuncletizer(this.ObjectContext, lambda.Parameters.
First
(), lambda.Parameters.Skip(1).ToList().AsReadOnly());
243
parameterLookup.Add(query.Parameters.
First
(), objectContext);
System\Data\Objects\ELinq\ObjectQueryProvider.cs (1)
203
return (sequence) => { return Enumerable.
First
(sequence); };
System\Data\Objects\EntityEntry.cs (2)
1719
reference.SetCachedForeignKey(pair.Value.
First
(), this);
2390
T existingRelatedObject = objectsInRelatedEnd.
First
();
System\Data\Objects\Internal\ForeignKeyFactory.cs (3)
80
ReferentialConstraint constraint = ((AssociationType)relatedEnd.RelationMetadata).ReferentialConstraints.
First
();
103
dependentEntry.GetOriginalEntityValue(dependentProps.
First
().Name) :
104
dependentEntry.GetCurrentEntityValue(dependentProps.
First
().Name);
System\Data\Objects\ObjectStateManager.cs (2)
3201
IEntityWrapper addedEntity = pair.Value.
First
();
3225
if (addedKey != newFks.
First
())
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
549
Node keyNode = constantKeys.
First
();
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1942
var value = realValues.
First
();
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
290
return (System.Data.EntityModel.SchemaObjectModel.SchemaElement)schemaTypes.
First
();
System.Data.Services (3)
System\Data\Services\Providers\BasicExpandProvider.cs (1)
1505
Type projectedSkipTokenType = this.elementType.GetGenericArguments().Skip(this.children.Count + 1).
First
();
System\Data\Services\Serializers\MetadataSerializer.cs (2)
504
var currentEpmInfos = type.OwnEpmInfo.Where(e => e.SourcePath.Split('/').
First
() == resourceProperty.Name);
520
var currentEpmInfos = type.OwnEpmInfo.Where(e => e.SourcePath.Split('/').
First
() == resourceProperty.Name);
System.Data.Services.Client (5)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
118
return query.AsEnumerable().
First
();
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
319
return comparer.Equals(left.
First
(), right.
First
());
System\Data\Services\Client\ALinq\UriWriter.cs (1)
247
this.uriBuilder.Append(this.ExpressionToString(rse.KeyPredicate.Values.
First
()));
System\Data\Services\Client\ClientType.cs (1)
259
select a).
First
<string>();
System.IdentityModel (4)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
1348
authenticationMethod = claimCollection.
First
<Claim>().Value;
1355
authenticationInstant = claimCollection.
First
<Claim>().Value;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
366
authenticationMethod = claimCollection.
First
<Claim>().Value;
374
authenticationInstant = claimCollection.
First
<Claim>().Value;
System.ServiceModel (1)
System\ServiceModel\Dispatcher\TaskExtensions.cs (1)
30
m.IsGenericMethod && m.Name == TaskAsAsyncResultMethodName).
First
();
System.ServiceModel.Web (10)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (9)
89
firstTr.Descendants(HtmlTdElementName).
First
().Add(new XAttribute(HtmlRowspanAttributeName, rowspan));
99
firstTr.Descendants(HtmlTdElementName).
First
().Add(new XAttribute(HtmlRowspanAttributeName, rowspan));
101
document.Descendants(HtmlBodyElementName).
First
().Add(new XElement(HtmlDivElementName, new XAttribute(HtmlIdAttributeName, HtmlContentClass),
133
document.Descendants(HtmlBodyElementName).
First
().Add(div);
135
CreateOperationSamples(document.Descendants(HtmlDivElementName).
First
(), operationInfo);
154
document.Descendants(HtmlBodyElementName).
First
().Add(div);
193
document.Descendants(HtmlBodyElementName).
First
().Add(div);
211
document.Descendants(HtmlBodyElementName).
First
().Add(div);
222
document.Descendants(HtmlBodyElementName).
First
().Add(div);
System\ServiceModel\Dispatcher\HelpPage.cs (1)
266
return parts.
First
().Type;
System.Web.DynamicData (3)
DynamicData\MetaTable.cs (3)
346
return MetaModel.CreateSimpleModel(entityType).Tables.
First
();
350
return MetaModel.CreateSimpleModel(typeDescriptor).Tables.
First
();
583
Columns.
First
();
System.Web.Entity (3)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
686
string key = exceptions.Keys.
First
();
System\Data\WebControls\EntityDataSourceView.cs (2)
929
string key = exceptions.Keys.
First
();
1048
int numEntities = (_originalProperties.
First
().Value).Count;
System.Web.Extensions (4)
UI\WebControls\Expressions\SearchExpression.cs (1)
57
string query = Convert.ToString(values.
First
().Value, CultureInfo.CurrentCulture);
UI\WebControls\LinqDataSourceView.cs (2)
637
EntityType, errors.Values.
First
().Message),
886
AtlasWeb.LinqDataSourceView_ValidationFailed, oldDataObject.GetType(), validateExceptions.Values.
First
().Message), validateExceptions);
UI\WebResourceUtil.cs (1)
119
select s.Length).
First
();
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
311
metadata.AddValidationError(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.AttemptToBindUnknownProperties, this.DisplayName, this.extraDynamicArguments.
First
()));