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