48 references to Create
Microsoft.Activities.Build (2)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (2)
201
this.messages.Add(Tuple.
Create
(message, false));
206
this.messages.Add(Tuple.
Create
(message, true));
mscorlib (7)
system\diagnostics\eventing\eventprovider.cs (2)
401
changedSessionList.Add(Tuple.
Create
(s, false));
414
changedSessionList.Add(Tuple.
Create
(s, true));
system\diagnostics\eventing\eventsource.cs (2)
5454
af.m_rootActiveActivities[currentActivityId] = Tuple.
Create
(source.Guid, eventId);
5566
yield return Tuple.
Create
(af.m_eventId, af.m_samplingFreq);
system\io\stream.cs (1)
528
}, Tuple.
Create
<Stream,ReadWriteTask>(this, readWriteTask),
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
626
var t = new Task<bool>(s_tryExecuteTaskShim, Tuple.
Create
(this, task));
system\threading\Tasks\Task.cs (1)
7231
}, Tuple.
Create
<UnwrapPromise<TResult>, Task>(this, completingTask));
System.Activities.Presentation (3)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (3)
60
return Tuple.
Create
(location, currentPair.Item1);
158
this.indexCache.Add(Tuple.
Create
(startIndex, lineLength));
188
yield return Tuple.
Create
(currentChar, index);
System.Data (3)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (3)
60
return Tuple.
Create
(location, currentPair.Item1);
158
this.indexCache.Add(Tuple.
Create
(startIndex, lineLength));
188
yield return Tuple.
Create
(currentChar, index);
System.Data.Entity (24)
System\Data\Common\CommandTrees\Internal\DbExpressionRules.cs (2)
96
return Tuple.
Create
(result, currentRule.OnExpressionProcessed);
105
return Tuple.
Create
(expression, DbExpressionRule.ProcessedAction.Continue);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (3)
297
from pv in constructedEntityType.Properties.Select((p, idx) => Tuple.
Create
(p, entityConstructor.Arguments[idx])) // new { DependentProperty = p, Value = entityConstructor.Arguments[idx] })
298
join ft in fkConstraint.FromProperties.Select((fp, idx) => Tuple.
Create
(fp, fkConstraint.ToProperties[idx])) //new { PrincipalProperty = fp, DependentProperty = fkConstraint.ToProperties[idx] })
300
select Tuple.
Create
(ft.Item1.Name, pv.Item2); // new { PrincipalProperty = ft.PrincipalProperty.Name, Value = pv.Value };
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
176
namespaceImports.Add(Tuple.
Create
((MetadataNamespace)metadataMember, namespaceImport.ErrCtx));
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (2)
93
select Tuple.
Create
(end.CorrespondingAssociationEndMember, candidateEntry);
222
return Tuple.
Create
(typeMapping, functionMapping);
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (11)
277
result.Placeholder = CreateResultTuple(Tuple.
Create
((CompositeKey)null, m_left.Placeholder), Tuple.
Create
((CompositeKey)null, m_right.Placeholder), result);
340
leftInsert = Tuple.
Create
(key, LeftPlaceholder(key, PopulateMode.Unknown));
344
leftDelete = Tuple.
Create
(key, LeftPlaceholder(key, PopulateMode.Unknown));
348
rightInsert = Tuple.
Create
(key, RightPlaceholder(key, PopulateMode.NullModified));
352
rightInsert = Tuple.
Create
(key, RightPlaceholder(key, PopulateMode.NullPreserve));
356
rightInsert = Tuple.
Create
(key, RightPlaceholder(key, PopulateMode.Unknown));
361
rightDelete = Tuple.
Create
(key, RightPlaceholder(key, PopulateMode.NullModified));
365
rightDelete = Tuple.
Create
(key, RightPlaceholder(key, PopulateMode.NullPreserve));
369
rightDelete = Tuple.
Create
(key, RightPlaceholder(key, PopulateMode.Unknown));
473
hash[key] = Tuple.
Create
(key, instance);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
746
var key = Tuple.
Create
(entitySetBase, type);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (2)
237
additionalChildSlots.Add(Tuple.
Create
(childBlock, childBlock.Slots[qualifiedSlotNumber]));
358
additionalChildSlots.Add(Tuple.
Create
(childBlock.QualifySlotWithBlockAlias(qualifiedSlotNumber), childBlock.MemberPath(qualifiedSlotNumber)));
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2949
renames.Add(Tuple.
Create
((EdmProperty)rename.Property, outerRowType.Properties[i].Name));
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1092
argNodes.Add(Tuple.
Create
(VisitExpr(argExpr), IsPredicate(argExpr)));
System.Runtime.Caching (1)
System\Caching\MemoryCacheEntry.cs (1)
184
_fields._updateSentinel = Tuple.
Create
(sentinelStore, sentinelEntry);
System.ServiceModel (2)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (2)
231
return Tuple.
Create
(returnValue, outputs);
284
var continuationState = Tuple.
Create
(tcs, callback);
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (1)
278
streamList.Add(Tuple.
Create
(path, activityStream));
System.Web (4)
Compilation\BuildManager.cs (1)
773
var currentHash = Tuple.
Create
(topLevelFilesHash, _theBuildManager._preAppStartHashCodeCombiner.CombinedHash);
Compilation\BuildResultCache.cs (3)
719
return Tuple.
Create
<long, long>(0, 0);
729
return Tuple.
Create
(value1, value2);
736
return Tuple.
Create
<long, long>(0, 0);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (1)
302
return Tuple.
Create
(clrTypeName, xamlType.UnderlyingType);