88 references to Tuple
mscorlib (16)
system\collections\concurrent\PartitionerStatic.cs (2)
241yield return new Tuple<long, long>(from, to); 298yield return new Tuple<int, int>(from, to);
system\io\textwriter.cs (4)
543Tuple<TextWriter, char> tuple = new Tuple<TextWriter, char>(this, value); 551Tuple<TextWriter, string> tuple = new Tuple<TextWriter, string>(this, value); 575Tuple<TextWriter, char> tuple = new Tuple<TextWriter, char>(this, value); 583Tuple<TextWriter, string> tuple = new Tuple<TextWriter, string>(this, value);
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (9)
36new Tuple<Type, PropertyType>(typeof(Byte), PropertyType.UInt8), 37new Tuple<Type, PropertyType>(typeof(Int16), PropertyType.Int16), 38new Tuple<Type, PropertyType>(typeof(UInt16), PropertyType.UInt16), 39new Tuple<Type, PropertyType>(typeof(Int32), PropertyType.Int32), 40new Tuple<Type, PropertyType>(typeof(UInt32), PropertyType.UInt32), 41new Tuple<Type, PropertyType>(typeof(Int64), PropertyType.Int64), 42new Tuple<Type, PropertyType>(typeof(UInt64), PropertyType.UInt64), 43new Tuple<Type, PropertyType>(typeof(Single), PropertyType.Single), 44new Tuple<Type, PropertyType>(typeof(Double), PropertyType.Double)
system\tuple.cs (1)
24return new Tuple<T1, T2>(item1, item2);
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (2)
680tuple = new Tuple<Type, CommandBinding>(classType, commandBinding); 689list.Add(new Tuple<Type, CommandBinding>(classType, commandBinding));
PresentationFramework (7)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
2082ranges.Add(new Tuple<int, int>(startRange, endRange-startRange+1));
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
11809: base(pixelSize, itemSize) 11829: base(pixelSize, itemSize) 12402new Tuple<WeakReference<ItemsControl>,TraceList>(
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (3)
395_spellCheckers[culture] = new Tuple<WordsSegmenter, SpellChecker>(wordBreaker, spellChecker); 495return new Tuple<string, string>(null, null); 555return new Tuple<string, string>(ietfLanguageTag, lexiconPrivateCopyPath);
System.Activities (2)
System\Activities\DynamicUpdate\ActivityComparer.cs (1)
482this.matchedActivities.Enqueue(new Tuple<Activity, Activity>(originalActivity, currentActivity));
System\Activities\XamlIntegration\CompiledLocation.cs (1)
149durableCache.Add(new Tuple<string, Type>(reference.Name, reference.Type));
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (1)
327this.definedPromotions.Add(name, new Tuple<List<XName>, List<XName>>(variant, binary));
System.Activities.Presentation (1)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\LineColumnPair.cs (1)
12: base(item1, item2)
System.ComponentModel.DataAnnotations (3)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (2)
92Tuple<Type, Type> typeTuple = new Tuple<Type, Type>(type, associatedType); 137var memberTuple = new Tuple<Type, string>(type, memberName);
DataAnnotations\CustomValidationAttribute.cs (1)
110_typeId = new Tuple<string, Type>(this._method, this._validatorType);
System.Data (3)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\LineColumnPair.cs (1)
12: base(item1, item2)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1437_currentCompletion = new Tuple<TaskCompletionSource<DbConnectionInternal>, Task>(completion, result.Task);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
1933_currentSessionData._resolvedAliases.Add(serverInfo.UserServerName, new Tuple<string, string>(host, protocol));
System.Data.Entity (7)
System\Data\Metadata\Edm\EntitySet.cs (2)
147dependents.Add(new Tuple<AssociationSet, ReferentialConstraint>(associationSet, constraint)); 153principals.Add(new Tuple<AssociationSet, ReferentialConstraint>(associationSet, constraint));
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
107return s_ProxyNameMap.TryGetValue(new Tuple<Type, string>(clrType, entityTypeName), out proxyTypeInfo); 240Tuple<Type, string> proxyIdentiy = new Tuple<Type, string>(clrEntityType.ClrType, clrEntityType.HashedDescription);
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (3)
59new Tuple<string, string>( 69new Tuple<string, string>( 173return _navigationPropertyAssociationTypes.TryGetValue(new Tuple<string, string>(relationshipName, targetRoleName), out associationType);
System.Runtime.DurableInstancing (1)
System\Runtime\PersistencePipeline.cs (1)
133pendingValues.Add(new Tuple<IPersistencePipelineModule, IDictionary<XName, object>>(module, mappedValues));
System.ServiceModel.Internals (5)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (5)
759new Tuple<string, string> (DiagnosticStrings.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName)), 760new Tuple<string, string> (DiagnosticStrings.MessageTag, XmlEncode(exception.Message)), 761new Tuple<string, string> (DiagnosticStrings.StackTraceTag, XmlEncode(StackTraceString(exception))), 762new Tuple<string, string> (DiagnosticStrings.ExceptionStringTag, XmlEncode(exception.ToString())), 769new Tuple<string, string>(
System.Web (2)
Configuration\MTConfigUtil.cs (1)
153Tuple<Type, VirtualPath> key = new Tuple<Type, VirtualPath>(typeof(S), vpath);
UI\TargetFrameworkUtil.cs (1)
76return new Tuple<string, int>(name, (int)bindingAttr);
System.Web.Extensions (16)
Globalization\ClientCultureInfo.cs (2)
120var key = new Tuple<CultureInfo, Type>(cultureInfo, calendarType); 130cached = new Tuple<String, String>(script, clientCultureInfo._convertScript);
Handlers\ScriptResourceHandler.cs (3)
176return new Tuple<AssemblyName, String>(assemblyName, hash); 571new Tuple<Assembly, List<Tuple<string, CultureInfo>>>( 574new Tuple<string, CultureInfo>(resourceName, culture)
UI\CompositeScriptReference.cs (2)
130resourceList = new Tuple<Assembly, List<Tuple<string, CultureInfo>>>( 168resourceList.Item2.Add(new Tuple<string, CultureInfo>(resourceName, culture));
UI\ScriptManager.cs (4)
1897new Tuple<string, Assembly>(sr.EffectivePath, null) : 1898new Tuple<string, Assembly>(sr.EffectiveResourceName, sr.GetAssembly(this)); 1935new Tuple<string, Assembly>(sr.EffectivePath, null) : 1936new Tuple<string, Assembly>(sr.EffectiveResourceName, sr.GetAssembly(this));
UI\ScriptResourceInfo.cs (1)
115Tuple<Assembly, string> cacheKey = new Tuple<Assembly, string>(assembly, resourceName);
UI\ScriptResourceMapping.cs (3)
33_definitions[new Tuple<String, Assembly>(name, assembly)] = definition; 60_definitions.TryGetValue(new Tuple<string, Assembly>(name, assembly), out definition); 88_definitions.TryRemove(new Tuple<String, Assembly>(name, assembly), out definition);
UI\WebResourceUtil.cs (1)
35Tuple<string, Assembly> key = new Tuple<string, Assembly>(resourceName, assembly);
System.Xml (20)
System\Xml\Core\XmlTextReaderImplAsync.cs (10)
765return new Tuple<int, bool>(entityId, false); 776return new Tuple<int, bool>(entityId, retValue); 3488return new Tuple<int, EntityType>(charRefEndPos, entityType); 3497return new Tuple<int, EntityType>(charRefEndPos, EntityType.CharacterNamed); 3509return new Tuple<int, EntityType>(charRefEndPos, EntityType.Unexpanded); 3523return new Tuple<int, EntityType>(charRefEndPos, EntityType.Skipped); 3541return new Tuple<int, EntityType>(charRefEndPos, entType); 4544return new Tuple<EntityType, int>(entityType, newPos); 4696return new Tuple<int, int>(colonPos, pos); 4706return new Tuple<int, bool>(pos, newDataRead);
System\Xml\Core\XsdValidatingReaderAsync.cs (7)
572tuple = new Tuple<string, object>(originalStringValue, ReturnBoxedValue( attributePSVI.typedAttributeValue, AttributeSchemaInfo.XmlType, unwrapTypedValue )); 578tuple = new Tuple<string, object>(originalStringValue, this.Value); 587tuple = new Tuple<string, object>(originalStringValue, atomicValue); 594tuple = new Tuple<string, object>(originalStringValue, string.Empty); 604tuple = new Tuple<string, object>(originalStringValue, value); 617tuple = new Tuple<string, object>(originalStringValue, originalStringValue); 634return new Tuple<XmlSchemaType, object>(tuple_13.Item1, tuple_13.Item3);
System\Xml\Schema\DtdParserAsync.cs (1)
1185tuple = new Tuple<string, string>(publicId, systemId);
System\Xml\Serialization\CodeGenerator.cs (2)
233Tuple<Type, string> key = new Tuple<Type, string>(type, name); 2574Tuple<Type, string> key = new Tuple<Type, string>(item.Value.LocalType, item.Key);
WindowsBase (2)
Base\System\Windows\Threading\Dispatcher.cs (2)
1881_reservedPtsCache = new Tuple<Object, List<String>>(value, list); 2770_reservedPtsCache = new Tuple<Object, List<String>>(_reservedPtsCache, new List<String>());