79 references to Tuple
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 (20)
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\tuple.cs (13)
226
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2));
335
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3));
455
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4));
586
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5));
728
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6));
881
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7));
1057
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item7), t.GetHashCode(comparer));
1059
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer));
1061
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer));
1063
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer));
1065
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer));
1067
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer));
1069
return
Tuple
.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer));
System.Activities.Core.Presentation (5)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (5)
423
elem2elemConnections.Add(
Tuple
.Create(modelElement[src], modelElement[dest], currentMI));
439
point2elemConnections.Add(
Tuple
.Create(srcConnectionPoint, modelElement[trueDestOnCanvas], currentMI));
450
point2elemConnections.Add(
Tuple
.Create(srcConnectionPoint, modelElement[falseDestOnCanvas], currentMI));
470
elem2elemConnections.Add(
Tuple
.Create(modelElement[currentMI], modelElement[defaultCaseOnCanvas], linkModelItem));
487
elem2elemConnections.Add(
Tuple
.Create(modelElement[currentMI], modelElement[destModelItem], linkModelItem));
System.Activities.Presentation (4)
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.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
404
return
Tuple
.Create(reason, results, exception);
System.Data (4)
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);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
404
return
Tuple
.Create(reason, results, exception);
System.Data.Entity (31)
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 (4)
171
principalSetsAndDependentTypes.Add(
Tuple
.Create(requiredSourceNavType, principalSetEnd, fkConstraint));
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 (2)
172
aliasedNamespaceImports.Add(
Tuple
.Create(alias, (MetadataNamespace)metadataMember, namespaceImport.ErrCtx));
176
namespaceImports.Add(
Tuple
.Create((MetadataNamespace)metadataMember, namespaceImport.ErrCtx));
System\Data\Common\Internal\Materialization\Shaper.cs (1)
454
var relatedEndKey =
Tuple
.Create<string, string, string>(entitySet.Identity, associationType.Identity, sourceEndName);
System\Data\Mapping\StorageMappingItemLoader.cs (2)
2149
structuralTypeMappings.Add(
Tuple
.Create((StructuralType)functionImportKB.MappedEntityTypes[i], typeConditions, propertyMappings));
2177
structuralTypeMappings.Add(
Tuple
.Create((StructuralType)resultComplexType, new List<StorageConditionPropertyMapping>(), propertyMappings));
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\KeyManager.cs (1)
132
var position =
Tuple
.Create(entityKey, member, currentValues);
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\InternalTrees\ColumnMapFactory.cs (1)
158
memberInfo.Add(
Tuple
.Create(
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1092
argNodes.Add(
Tuple
.Create(VisitExpr(argExpr), IsPredicate(argExpr)));
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
554
session.MappingLookups.StoreFunctionToFunctionImport.Add(
Tuple
.Create(storeFunction, functionImport));
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);
System.Web.Extensions (3)
Handlers\ScriptResourceHandler.cs (2)
61
Tuple<Assembly, string, CultureInfo> cacheKey =
Tuple
.Create(assembly, scriptResourceName, culture);
719
Tuple<Assembly, string, CultureInfo> cacheKey =
Tuple
.Create(
UI\ScriptReference.cs (1)
300
Tuple<string, Assembly, CultureInfo> key =
Tuple
.Create(resourceName, assembly, culture);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (1)
302
return
Tuple
.Create(clrTypeName, xamlType.UnderlyingType);