79 references to Tuple
Microsoft.Activities.Build (2)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (2)
201this.messages.Add(Tuple.Create(message, false)); 206this.messages.Add(Tuple.Create(message, true));
mscorlib (20)
system\diagnostics\eventing\eventprovider.cs (2)
401changedSessionList.Add(Tuple.Create(s, false)); 414changedSessionList.Add(Tuple.Create(s, true));
system\diagnostics\eventing\eventsource.cs (2)
5454af.m_rootActiveActivities[currentActivityId] = Tuple.Create(source.Guid, eventId); 5566yield 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)
626var 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)
226return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2)); 335return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3)); 455return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4)); 586return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5)); 728return 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)); 881return 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)); 1057return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item7), t.GetHashCode(comparer)); 1059return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer)); 1061return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer)); 1063return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetHashCode(comparer)); 1065return 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)); 1067return 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)); 1069return 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)
423elem2elemConnections.Add(Tuple.Create(modelElement[src], modelElement[dest], currentMI)); 439point2elemConnections.Add(Tuple.Create(srcConnectionPoint, modelElement[trueDestOnCanvas], currentMI)); 450point2elemConnections.Add(Tuple.Create(srcConnectionPoint, modelElement[falseDestOnCanvas], currentMI)); 470elem2elemConnections.Add(Tuple.Create(modelElement[currentMI], modelElement[defaultCaseOnCanvas], linkModelItem)); 487elem2elemConnections.Add(Tuple.Create(modelElement[currentMI], modelElement[destModelItem], linkModelItem));
System.Activities.Presentation (4)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (3)
60return Tuple.Create(location, currentPair.Item1); 158this.indexCache.Add(Tuple.Create(startIndex, lineLength)); 188yield return Tuple.Create(currentChar, index);
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
404return Tuple.Create(reason, results, exception);
System.Data (4)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (3)
60return Tuple.Create(location, currentPair.Item1); 158this.indexCache.Add(Tuple.Create(startIndex, lineLength)); 188yield return Tuple.Create(currentChar, index);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
404return Tuple.Create(reason, results, exception);
System.Data.Entity (31)
System\Data\Common\CommandTrees\Internal\DbExpressionRules.cs (2)
96return Tuple.Create(result, currentRule.OnExpressionProcessed); 105return Tuple.Create(expression, DbExpressionRule.ProcessedAction.Continue);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (4)
171principalSetsAndDependentTypes.Add(Tuple.Create(requiredSourceNavType, principalSetEnd, fkConstraint)); 297from pv in constructedEntityType.Properties.Select((p, idx) => Tuple.Create(p, entityConstructor.Arguments[idx])) // new { DependentProperty = p, Value = entityConstructor.Arguments[idx] }) 298join ft in fkConstraint.FromProperties.Select((fp, idx) => Tuple.Create(fp, fkConstraint.ToProperties[idx])) //new { PrincipalProperty = fp, DependentProperty = fkConstraint.ToProperties[idx] }) 300select Tuple.Create(ft.Item1.Name, pv.Item2); // new { PrincipalProperty = ft.PrincipalProperty.Name, Value = pv.Value };
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
172aliasedNamespaceImports.Add(Tuple.Create(alias, (MetadataNamespace)metadataMember, namespaceImport.ErrCtx)); 176namespaceImports.Add(Tuple.Create((MetadataNamespace)metadataMember, namespaceImport.ErrCtx));
System\Data\Common\Internal\Materialization\Shaper.cs (1)
454var relatedEndKey = Tuple.Create<string, string, string>(entitySet.Identity, associationType.Identity, sourceEndName);
System\Data\Mapping\StorageMappingItemLoader.cs (2)
2149structuralTypeMappings.Add(Tuple.Create((StructuralType)functionImportKB.MappedEntityTypes[i], typeConditions, propertyMappings)); 2177structuralTypeMappings.Add(Tuple.Create((StructuralType)resultComplexType, new List<StorageConditionPropertyMapping>(), propertyMappings));
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (2)
93select Tuple.Create(end.CorrespondingAssociationEndMember, candidateEntry); 222return Tuple.Create(typeMapping, functionMapping);
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
132var position = Tuple.Create(entityKey, member, currentValues);
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (11)
277result.Placeholder = CreateResultTuple(Tuple.Create((CompositeKey)null, m_left.Placeholder), Tuple.Create((CompositeKey)null, m_right.Placeholder), result); 340leftInsert = Tuple.Create(key, LeftPlaceholder(key, PopulateMode.Unknown)); 344leftDelete = Tuple.Create(key, LeftPlaceholder(key, PopulateMode.Unknown)); 348rightInsert = Tuple.Create(key, RightPlaceholder(key, PopulateMode.NullModified)); 352rightInsert = Tuple.Create(key, RightPlaceholder(key, PopulateMode.NullPreserve)); 356rightInsert = Tuple.Create(key, RightPlaceholder(key, PopulateMode.Unknown)); 361rightDelete = Tuple.Create(key, RightPlaceholder(key, PopulateMode.NullModified)); 365rightDelete = Tuple.Create(key, RightPlaceholder(key, PopulateMode.NullPreserve)); 369rightDelete = Tuple.Create(key, RightPlaceholder(key, PopulateMode.Unknown)); 473hash[key] = Tuple.Create(key, instance);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
746var key = Tuple.Create(entitySetBase, type);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (2)
237additionalChildSlots.Add(Tuple.Create(childBlock, childBlock.Slots[qualifiedSlotNumber])); 358additionalChildSlots.Add(Tuple.Create(childBlock.QualifySlotWithBlockAlias(qualifiedSlotNumber), childBlock.MemberPath(qualifiedSlotNumber)));
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2949renames.Add(Tuple.Create((EdmProperty)rename.Property, outerRowType.Properties[i].Name));
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
158memberInfo.Add(Tuple.Create(
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1092argNodes.Add(Tuple.Create(VisitExpr(argExpr), IsPredicate(argExpr)));
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
554session.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)
231return Tuple.Create(returnValue, outputs); 284var continuationState = Tuple.Create(tcs, callback);
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (1)
278streamList.Add(Tuple.Create(path, activityStream));
System.Web (4)
Compilation\BuildManager.cs (1)
773var currentHash = Tuple.Create(topLevelFilesHash, _theBuildManager._preAppStartHashCodeCombiner.CombinedHash);
Compilation\BuildResultCache.cs (3)
719return Tuple.Create<long, long>(0, 0); 729return Tuple.Create(value1, value2); 736return Tuple.Create<long, long>(0, 0);
System.Web.Extensions (3)
Handlers\ScriptResourceHandler.cs (2)
61Tuple<Assembly, string, CultureInfo> cacheKey = Tuple.Create(assembly, scriptResourceName, culture); 719Tuple<Assembly, string, CultureInfo> cacheKey = Tuple.Create(
UI\ScriptReference.cs (1)
300Tuple<string, Assembly, CultureInfo> key = Tuple.Create(resourceName, assembly, culture);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (1)
302return Tuple.Create(clrTypeName, xamlType.UnderlyingType);