4 types derived from Tuple
PresentationFramework (2)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
11806private class ContainerSizeDual : Tuple<Size, Size> 11826private class UniformOrAverageContainerSizeDual : Tuple<Double, Double>
System.Activities.Presentation (1)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\LineColumnPair.cs (1)
9internal class LineColumnPair : Tuple<int, int>
System.Data (1)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\LineColumnPair.cs (1)
9internal class LineColumnPair : Tuple<int, int>
84 instantiations of 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 (5)
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 (1)
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.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 (2)
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>());
318 references to Tuple
Microsoft.Activities.Build (3)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (3)
25List<Tuple<string, bool>> messages; 53this.messages = new List<Tuple<string, bool>>(); 64foreach (Tuple<string, bool> message in this.messages)
mscorlib (47)
system\collections\concurrent\PartitionerStatic.cs (6)
194public static OrderablePartitioner<Tuple<long, long>> Create(long fromInclusive, long toExclusive) 217public static OrderablePartitioner<Tuple<long, long>> Create(long fromInclusive, long toExclusive, long rangeSize) 225private static IEnumerable<Tuple<long, long>> CreateRanges(long fromInclusive, long toExclusive, long rangeSize) 251public static OrderablePartitioner<Tuple<int, int>> Create(int fromInclusive, int toExclusive) 274public static OrderablePartitioner<Tuple<int, int>> Create(int fromInclusive, int toExclusive, int rangeSize) 282private static IEnumerable<Tuple<int, int>> CreateRanges(int fromInclusive, int toExclusive, int rangeSize)
system\diagnostics\eventing\eventprovider.cs (5)
294List<Tuple<SessionInfo, bool>> sessionsChanged = GetSessions(); 295foreach (var session in sessionsChanged) 382private List<Tuple<SessionInfo, bool>> GetSessions() 390List<Tuple<SessionInfo, bool>> changedSessionList = new List<Tuple<SessionInfo, bool>>();
system\diagnostics\eventing\eventsource.cs (7)
4029foreach (var t in af.GetFilterAsTuple(m_guid)) 5447Tuple<Guid, int> startId; 5461Tuple<Guid, int> startId; 5561public IEnumerable<Tuple<int, int>> GetFilterAsTuple(Guid sourceGuid) 5615m_rootActiveActivities = new ConcurrentDictionary<Guid, Tuple<Guid, int>>(); 5662Tuple<Guid, int> dummyTuple; 5747ConcurrentDictionary<Guid, Tuple<Guid, int>> m_rootActiveActivities;
system\io\stream.cs (2)
526var tuple = (Tuple<Stream,ReadWriteTask>)state;
system\io\textwriter.cs (12)
53Tuple<TextWriter, char> tuple = (Tuple<TextWriter, char>)state; 60Tuple<TextWriter, string> tuple = (Tuple<TextWriter, string>)state; 74Tuple<TextWriter, char> tuple = (Tuple<TextWriter, char>)state; 81Tuple<TextWriter, string> tuple = (Tuple<TextWriter, string>)state; 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 (6)
24private static volatile Tuple<Type, PropertyType>[] s_numericScalarTypes; 32private static Tuple<Type, PropertyType>[] NumericScalarTypes { 35Tuple<Type, PropertyType>[] numericScalarTypes = new Tuple<Type, PropertyType>[] { 429foreach (Tuple<Type, PropertyType> numericScalar in NumericScalarTypes) { 501foreach (Tuple<Type, PropertyType> numericScalar in NumericScalarTypes) {
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (2)
651var tuple = (Tuple<ConcurrentExclusiveTaskScheduler, Task>)state;
system\threading\Tasks\Task.cs (2)
7229var tuple = (Tuple<UnwrapPromise<TResult>, Task>)state;
system\tuple.cs (5)
23public static Tuple<T1, T2> Create<T1, T2>(T1 item1, T2 item2) { 190Tuple<T1, T2> objTuple = other as Tuple<T1, T2>; 206Tuple<T1, T2> objTuple = other as Tuple<T1, T2>;
PresentationCore (3)
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (3)
660Tuple<Type, CommandBinding> tuple = null; // zero or one binding 661List<Tuple<Type, CommandBinding>> list = null; // more than one 686list = new List<Tuple<Type, CommandBinding>>();
PresentationFramework (16)
src\Framework\System\Windows\Controls\DataGrid.cs (4)
5383List<Tuple<int,int>> ranges = null; 5389ranges = new List<Tuple<int,int>>(); 7659List<Tuple<int,int>> ranges = new List<Tuple<int, int>>();
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
2014internal void LocateSelectedItems(List<Tuple<int,int>> ranges = null, bool deselectMissingItems=false)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
951internal void OnItemsCollectionChanged(NotifyCollectionChangedEventArgs e, List<Tuple<int,int>> ranges) 1438internal void RestoreOnlyFullRows(List<Tuple<int,int>> ranges) 1445foreach (Tuple<int,int> range in ranges)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
12341private static List<Tuple<WeakReference<ItemsControl>,TraceList>> s_TargetToTraceListMap 12342= new List<Tuple<WeakReference<ItemsControl>,TraceList>>();
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (6)
82_spellCheckers = new Dictionary<CultureInfo, Tuple<WordsSegmenter, SpellChecker>>(); 242var data = (Tuple<string, string>)token; 491private Tuple<string, string> LoadDictionaryImpl(string lexiconFilePath) 783foreach (Tuple<WordsSegmenter, SpellChecker> item in _spellCheckers.Values) 927private Dictionary<CultureInfo, Tuple<WordsSegmenter, SpellChecker>> _spellCheckers;
System.Activities (7)
System\Activities\DynamicUpdate\ActivityComparer.cs (3)
245Queue<Tuple<Activity, Activity>> matchedActivities; 263this.matchedActivities = new Queue<Tuple<Activity, Activity>>(); 299Tuple<Activity, Activity> pair = this.matchedActivities.Dequeue();
System\Activities\XamlIntegration\CompiledLocation.cs (4)
136public IList<Tuple<string, Type>> locationReferenceCache 145List<Tuple<string, Type>> durableCache = new List<Tuple<string, Type>>(this.locationReferences.Count); 163foreach (Tuple<string, Type> reference in value)
System.Activities.DurableInstancing (4)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
536foreach (KeyValuePair<string, Tuple<List<XName>, List<XName>>> promotion in base.Store.Promotions)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (3)
31Dictionary<string, Tuple<List<XName>, List<XName>>> definedPromotions; 63this.definedPromotions = new Dictionary<string, Tuple<List<XName>, List<XName>>>(); 204internal Dictionary<string, Tuple<List<XName>, List<XName>>> Promotions
System.Activities.Presentation (8)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (6)
24private List<Tuple<int, int>> indexCache; 30this.indexCache = new List<Tuple<int, int>>(); 33internal Tuple<LineColumnPair, char> SearchCharAfter(LineColumnPair startPoint, params char[] charsToSearch) 48foreach (Tuple<char, int> currentPair in this.Scan(index)) 142foreach (Tuple<char, int> currentPair in this.Scan(startIndex)) 166private IEnumerable<Tuple<char, int>> Scan(int index)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
402Tuple<LineColumnPair, char> start = sourceTextScanner.SearchCharAfter(startPoint, SingleQuote, DoubleQuote, StartAngleBracket); 413Tuple<LineColumnPair, char> end = sourceTextScanner.SearchCharAfter(start.Item1, start.Item2);
System.ComponentModel.DataAnnotations (7)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (6)
86private static readonly ConcurrentDictionary<Tuple<Type, string>, Attribute[]> _typeMemberCache = new ConcurrentDictionary<Tuple<Type, string>, Attribute[]>(); 89private static readonly ConcurrentDictionary<Tuple<Type, Type>, bool> _validatedMetadataTypeCache = new ConcurrentDictionary<Tuple<Type, Type>, bool>(); 92Tuple<Type, Type> typeTuple = new Tuple<Type, Type>(type, associatedType); 137var memberTuple = new Tuple<Type, string>(type, memberName);
DataAnnotations\CustomValidationAttribute.cs (1)
58private Tuple<string, Type> _typeId;
System.Data (13)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (6)
24private List<Tuple<int, int>> indexCache; 30this.indexCache = new List<Tuple<int, int>>(); 33internal Tuple<LineColumnPair, char> SearchCharAfter(LineColumnPair startPoint, params char[] charsToSearch) 48foreach (Tuple<char, int> currentPair in this.Scan(index)) 142foreach (Tuple<char, int> currentPair in this.Scan(startIndex)) 166private IEnumerable<Tuple<char, int>> Scan(int index)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
402Tuple<LineColumnPair, char> start = sourceTextScanner.SearchCharAfter(startPoint, SingleQuote, DoubleQuote, StartAngleBracket); 413Tuple<LineColumnPair, char> end = sourceTextScanner.SearchCharAfter(start.Item1, start.Item2);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
278Tuple<TaskCompletionSource<DbConnectionInternal>, Task> _currentCompletion; 1374var completion = _currentCompletion;
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (3)
53internal Dictionary<string, Tuple<string, string>> _resolvedAliases; 77_resolvedAliases = new Dictionary<string, Tuple<string, string>>(2); 1926Tuple<string, string> hostPortPair;
System.Data.Entity (59)
System\Data\Common\CommandTrees\Internal\DbExpressionRules.cs (2)
79private static Tuple<DbExpression, DbExpressionRule.ProcessedAction> ProcessRules(DbExpression expression, List<DbExpressionRule> rules) 116var ruleResult = ProcessRules(expression, currentRules);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
310var singleKeyNameAndValue = keyPropAndValue.Single();
System\Data\Common\EntitySql\SemanticAnalyzer.cs (3)
134List<Tuple<MetadataNamespace, ErrorContext>> namespaceImports = new List<Tuple<MetadataNamespace, ErrorContext>>(); 196foreach (var resolvedNamespaceImport in namespaceImports)
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (3)
80var mapping = GetFunctionMapping(stateEntry); 98foreach (var candidate in collocatedEntries) 188private Tuple<StorageEntityTypeModificationFunctionMapping, StorageModificationFunctionMapping> GetFunctionMapping(ExtractedStateEntry stateEntry)
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (8)
23using JoinDictionary = Dictionary<CompositeKey, Tuple<CompositeKey, PropagatorResult>>; 291Tuple<CompositeKey, PropagatorResult> leftInsert = null; 292Tuple<CompositeKey, PropagatorResult> leftDelete = null; 293Tuple<CompositeKey, PropagatorResult> rightInsert = null; 294Tuple<CompositeKey, PropagatorResult> rightDelete = null; 317Action<Tuple<CompositeKey, PropagatorResult>> addStateEntries = (r) => 392private PropagatorResult CreateResultTuple(Tuple<CompositeKey, PropagatorResult> left, Tuple<CompositeKey, PropagatorResult> right, ChangeNode result)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (4)
76m_extractorMetadata = new Dictionary<Tuple<EntitySetBase, StructuralType>, ExtractorMetadata>(); ; 111private readonly Dictionary<Tuple<EntitySetBase, StructuralType>, ExtractorMetadata> m_extractorMetadata; 227foreach (var foreignKey in entitySet.ForeignKeyDependents) 746var key = Tuple.Create(entitySetBase, type);
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
443foreach (var pkFkInfo in principal.ForeignKeyPrincipals)
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (5)
226List<Tuple<CqlBlock, SlotInfo>> additionalChildSlots = new List<Tuple<CqlBlock, SlotInfo>>(); 278foreach (var addtionalChildSlotInfo in additionalChildSlots) 345List<Tuple<QualifiedSlot, MemberPath>> additionalChildSlots = new List<Tuple<QualifiedSlot,MemberPath>>();
System\Data\Metadata\Edm\EntitySet.cs (6)
42private ReadOnlyCollection<Tuple<AssociationSet, ReferentialConstraint>> _foreignKeyDependents; 43private ReadOnlyCollection<Tuple<AssociationSet, ReferentialConstraint>> _foreignKeyPrincipals; 69internal ReadOnlyCollection<Tuple<AssociationSet, ReferentialConstraint>> ForeignKeyDependents 85internal ReadOnlyCollection<Tuple<AssociationSet, ReferentialConstraint>> ForeignKeyPrincipals 132var dependents = new List<Tuple<AssociationSet, ReferentialConstraint>>(); 133var principals = new List<Tuple<AssociationSet, ReferentialConstraint>>();
System\Data\Objects\ELinq\MethodCallTranslator.cs (2)
2936var renames = new List<Tuple<EdmProperty, string>>(); 2967foreach (var rename in renames)
System\Data\Objects\EntityEntry.cs (13)
154internal IEnumerable<Tuple<AssociationSet, ReferentialConstraint>> ForeignKeyDependents 158foreach (var foreignKey in ((EntitySet)EntitySet).ForeignKeyDependents) 171internal IEnumerable<Tuple<AssociationSet, ReferentialConstraint>> ForeignKeyPrincipals 175foreach (var foreignKey in ((EntitySet)EntitySet).ForeignKeyPrincipals) 2100foreach (Tuple<AssociationSet, ReferentialConstraint> dependent in ForeignKeyDependents) 2539foreach (var dependent in ForeignKeyDependents) 3423foreach (var dependent in ForeignKeyDependents) 3699foreach (var dependent in ForeignKeyDependents) 3747foreach (var principal in ForeignKeyPrincipals) 3795foreach (var dependent in ForeignKeyDependents) 3812foreach (var dependent in ForeignKeyDependents) 3837foreach (var dependent in ForeignKeyDependents) 3886foreach (var dependent in ForeignKeyDependents)
System\Data\Objects\Internal\EntityProxyFactory.cs (3)
49private static Dictionary<Tuple<Type, string>, EntityProxyTypeInfo> s_ProxyNameMap = new Dictionary<Tuple<Type, string>, EntityProxyTypeInfo>(); 240Tuple<Type, string> proxyIdentiy = new Tuple<Type, string>(clrEntityType.ClrType, clrEntityType.HashedDescription);
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (2)
44private readonly Dictionary<Tuple<string, string>, AssociationType> _navigationPropertyAssociationTypes; 55_navigationPropertyAssociationTypes = new Dictionary<Tuple<string, string>, AssociationType>();
System\Data\Query\PlanCompiler\ITreeGenerator.cs (6)
100private readonly Dictionary<string, Tuple<Node, bool>> _arguments; 103internal LambdaScope(ITreeGenerator treeGen, Command command, Dictionary<string, Tuple<Node, bool>> args) 876private void EnterLambdaFunction(DbLambda lambda, List<Tuple<Node, bool>> argumentValues, EdmFunction expandingEdmFunction) 880var args = new Dictionary<string, Tuple<Node, bool>>(); 882foreach (var argumentValue in argumentValues) 1088var argNodes = new List<Tuple<Node, bool>>(arguments.Count);
System.Data.Entity.Design (3)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (3)
35internal List<Tuple<EdmFunction, EdmFunction>> StoreFunctionToFunctionImport = new List<Tuple<EdmFunction, EdmFunction>>(); 296foreach (var functionMapping in _lookups.StoreFunctionToFunctionImport)
System.Data.Services (1)
parent\Client\System\Data\Services\Client\Common.cs (1)
36typeof(System.Tuple<,>), // 2-Tuple
System.Data.Services.Client (1)
System\Data\Services\Client\Common.cs (1)
36typeof(System.Tuple<,>), // 2-Tuple
System.Runtime.Caching (2)
System\Caching\MemoryCacheEntry.cs (2)
34internal Tuple<MemoryCacheStore, MemoryCacheEntry> _updateSentinel; // the MemoryCacheEntry (and its associated store) of the OnUpdateSentinel for this entry, if there is one 257Tuple<MemoryCacheStore, MemoryCacheEntry> sentinelInfo = fields._updateSentinel;
System.Runtime.DurableInstancing (3)
System\Runtime\PersistencePipeline.cs (3)
122List<Tuple<IPersistencePipelineModule, IDictionary<XName, object>>> pendingValues = null; 131pendingValues = new List<Tuple<IPersistencePipelineModule, IDictionary<XName, object>>>(); 139foreach (Tuple<IPersistencePipelineModule, IDictionary<XName, object>> writeOnlyValues in pendingValues)
System.ServiceModel (7)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (7)
90Task<Tuple<object, object[]>> invokeTask = result as Task<Tuple<object, object[]>>; 98Tuple<object, object[]> tuple = null; 174private async Task<Tuple<object, object[]>> InvokeAsync(object instance, object[] inputs) 284var continuationState = Tuple.Create(tcs, callback); 288Tuple<TaskCompletionSource<TResult>, AsyncCallback> tuple = (Tuple<TaskCompletionSource<TResult>, AsyncCallback>)obj;
System.ServiceModel.Activation (10)
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (7)
153IList<Tuple<string, Stream>> streams = null; 161foreach (Tuple<string, Stream> stream in streams) 185foreach (Tuple<string, Stream> stream in streams) 244internal static void GetSupportedVersionStreams(string xamlFileName, out IList<Tuple<string, Stream>> streams) 250List<Tuple<string, Stream>> streamList = new List<Tuple<string, Stream>>(); 306foreach (Tuple<string, Stream> stream in streamList)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (3)
48IList<Tuple<string, Stream>> streams = null; 57foreach (Tuple<string, Stream> stream in streams) 81foreach (Tuple<string, Stream> stream in streams)
System.ServiceModel.Internals (3)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (3)
757IList<Tuple<string, string>> exceptionInfo = new List<Tuple<string, string>>() 774foreach (Tuple<string, string> item in exceptionInfo)
System.Web (20)
Compilation\BuildManager.cs (4)
671private void AfterPreAppStartExecute(Tuple<long, long> currentHash, Tuple<long, long> cachedTopLevelFilesHash) { 765Tuple<long, long> specialFilesCombinedHash = _theBuildManager._codeGenCache.GetPreservedSpecialFilesCombinedHash(); 773var currentHash = Tuple.Create(topLevelFilesHash, _theBuildManager._preAppStartHashCodeCombiner.CombinedHash);
Compilation\BuildResultCache.cs (4)
709internal Tuple<long, long> GetPreservedSpecialFilesCombinedHash() { 717internal static Tuple<long, long> GetPreservedSpecialFilesCombinedHash(string fileName) { 739internal void SavePreservedSpecialFilesCombinedHash(Tuple<long, long> hash) { 747internal static void SavePreservedSpecialFilesCombinedHash(string hashFilePath, Tuple<long, long> hash) {
Configuration\MTConfigUtil.cs (3)
15private static readonly ConcurrentDictionary<Tuple<Type, VirtualPath>, ConfigurationSection> s_sections = 16new ConcurrentDictionary<Tuple<Type, VirtualPath>, ConfigurationSection>(); 153Tuple<Type, VirtualPath> key = new Tuple<Type, VirtualPath>(typeof(S), vpath);
UI\TargetFrameworkUtil.cs (9)
21private ConcurrentDictionary<Tuple<string, int>, FieldInfo> _fields; 22private ConcurrentDictionary<Tuple<string, int>, PropertyInfo> _properties; 35internal ConcurrentDictionary<Tuple<string, int>, FieldInfo> Fields { 38_fields = new ConcurrentDictionary<Tuple<string, int>, FieldInfo>(); 43internal ConcurrentDictionary<Tuple<string, int>, PropertyInfo> Properties { 46_properties = new ConcurrentDictionary<Tuple<string, int>, PropertyInfo>(); 75private static Tuple<string, int> MakeTuple(string name, BindingFlags bindingAttr) { 183Tuple<string, int> key = MakeTuple(name, bindingAttr); 232Tuple<string, int> key = MakeTuple(name, bindingAttr);
System.Web.Extensions (46)
Globalization\ClientCultureInfo.cs (5)
105internal Tuple<String, String> GetClientCultureScriptBlock() { 109internal static Tuple<String, String> GetClientCultureScriptBlock(CultureInfo cultureInfo) { 120var key = new Tuple<CultureInfo, Type>(cultureInfo, calendarType); 121Tuple<String, String> cached = cultureScriptBlockCache[key] as Tuple<String, String>;
Handlers\IScriptResourceHandler.cs (2)
20List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, bool zip);
Handlers\ScriptResourceHandler.cs (24)
162private static Tuple<AssemblyName, String> GetAssemblyInfo(Assembly assembly) { 163Tuple<AssemblyName, String> assemblyInfo = 164(Tuple<AssemblyName, String>)_assemblyInfoCache[assembly]; 173private static Tuple<AssemblyName, String> GetAssemblyInfoInternal(Assembly assembly) { 214List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 570new List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>>() { 571new Tuple<Assembly, List<Tuple<string, CultureInfo>>>( 573new List<Tuple<string,CultureInfo>>() { 581List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 589foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 602foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 604foreach (Tuple<string, CultureInfo> resourceAndCulture in assemblyData.Item2) { 628List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 645var reference = assemblyResourceLists[0]; 675foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 684Tuple<AssemblyName, String> assemblyInfo = GetAssemblyInfo(assemblyData.Item1); 711foreach (Tuple<string, CultureInfo> resourceAndCulture in assemblyData.Item2) {
UI\CompositeScriptReference.cs (8)
81List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> resources = 82new List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>>(); 83Tuple<Assembly, List<Tuple<string, CultureInfo>>> resourceList = null; 130resourceList = new Tuple<Assembly, List<Tuple<string, CultureInfo>>>( 131cacheAssembly, new List<Tuple<string, CultureInfo>>());
UI\ScriptManager.cs (3)
1537Tuple<String, String> entry = ClientCultureInfo.GetClientCultureScriptBlock(CultureInfo.CurrentCulture); 1896Tuple<string, Assembly> key = (String.IsNullOrEmpty(sr.EffectiveResourceName)) ? 1934Tuple<string, Assembly> key = (String.IsNullOrEmpty(sr.EffectiveResourceName)) ?
UI\ScriptResourceInfo.cs (1)
115Tuple<Assembly, string> cacheKey = new Tuple<Assembly, string>(assembly, resourceName);
UI\ScriptResourceMapping.cs (2)
10private readonly ConcurrentDictionary<Tuple<String, Assembly>, ScriptResourceDefinition> _definitions = 11new ConcurrentDictionary<Tuple<String, Assembly>, ScriptResourceDefinition>();
UI\WebResourceUtil.cs (1)
35Tuple<string, Assembly> key = new Tuple<string, Assembly>(resourceName, assembly);
System.Xml (46)
System\Xml\Core\IDtdParserAdapterAsync.cs (1)
27Task< Tuple<int,bool> > PushEntityAsync( IDtdEntityInfo entity);
System\Xml\Core\XmlTextReaderImplAsync.cs (23)
698var tuple_1 = await this.ParseNumericCharRefAsync( true, internalSubsetBuilder).ConfigureAwait(false); 756internal async Task< Tuple<int, bool> > DtdParserProxy_PushEntityAsync(IDtdEntityInfo entity) { 1505var tuple_3 = await HandleEntityReferenceAsync(false, EntityExpandType.OnlyGeneral).ConfigureAwait(false); 1778Task< Tuple<int,int> > parseQNameTask = ParseQNameAsync(); 1785private Task ParseElementAsync_ContinueWithSetElement(Task<Tuple<int,int>> task) { 1787var tuple_4 = task.Result; 1797private async Task _ParseElementAsync_ContinueWithSetElement(Task<Tuple<int, int>> task) { 1798var tuple_4 = await task.ConfigureAwait(false); 2111var tuple_5 = await ParseQNameAsync().ConfigureAwait(false); 2300var tuple_6 = await ParseQNameAsync().ConfigureAwait(false); 2310var tuple_7 = await ParseQNameAsync().ConfigureAwait(false); 2527var tuple_8 = await HandleEntityReferenceAsync( true, EntityExpandType.All).ConfigureAwait(false); 3153var tuple_14 = await HandleEntityReferenceAsync(false, EntityExpandType.All).ConfigureAwait(false); 3466private async Task< Tuple<int, EntityType> > HandleEntityReferenceAsync(bool isInAttributeValue, EntityExpandType expandType) { 3481var tuple_17 = await ParseNumericCharRefAsync( expandType != EntityExpandType.OnlyGeneral, null).ConfigureAwait(false); 4164var tuple_24 = await ParseQNameAsync().ConfigureAwait(false); 4525private async Task< Tuple<EntityType, int> > ParseNumericCharRefAsync(bool expand, BufferBuilder internalSubsetBuilder) { 4580var tuple_25 = await ParseQNameAsync( false, 0).ConfigureAwait(false); 4585private Task< Tuple<int, int> > ParseQNameAsync() { 4591private async Task< Tuple<int, int> > ParseQNameAsync(bool isQName, int startOffset) { 4628var tuple_27 = await ReadDataInNameAsync(pos).ConfigureAwait(false); 4682var tuple_28 = await ReadDataInNameAsync(pos).ConfigureAwait(false); 4700private async Task< Tuple<int, bool> > ReadDataInNameAsync(int pos) {
System\Xml\Core\XmlTextReaderImplHelpersAsync.cs (1)
56Task< Tuple<int,bool> > IDtdParserAdapter.PushEntityAsync( IDtdEntityInfo entity ) {
System\Xml\Core\XsdValidatingReaderAsync.cs (9)
67var tuple_0 = await InternalReadContentAsObjectTupleAsync(false).ConfigureAwait(false); 102var tuple_1 = await InternalReadElementContentAsObjectAsync( true).ConfigureAwait(false); 114var tuple_9 = await InternalReadElementContentAsObjectAsync().ConfigureAwait(false); 553var tuple_11 = await InternalReadContentAsObjectTupleAsync(unwrapTypedValue).ConfigureAwait(false); 559private async Task< Tuple<string, object> > InternalReadContentAsObjectTupleAsync(bool unwrapTypedValue) { 560Tuple<string, object> tuple; 624private Task< Tuple<XmlSchemaType, object> > InternalReadElementContentAsObjectAsync() { 630private async Task< Tuple<XmlSchemaType, object> > InternalReadElementContentAsObjectAsync(bool unwrapTypedValue) { 685var tuple_14 = await InternalReadContentAsObjectTupleAsync(unwrapTypedValue).ConfigureAwait(false);
System\Xml\Schema\DtdParserAsync.cs (7)
85var tuple_0 = await ParseExternalIdAsync( token, Token.DOCTYPE).ConfigureAwait(false); 936var tuple_1 = await ParseExternalIdAsync( token, Token.EntityDecl).ConfigureAwait(false); 1013var tuple_2 = await ParseExternalIdAsync( token, Token.NOTATION).ConfigureAwait(false); 1121private async Task< Tuple<string, string> > ParseExternalIdAsync(Token idTokenType, Token declType) { 1122Tuple<string, string> tuple; 2479var tuple_3 = await readerAdapter.PushEntityAsync( entity).ConfigureAwait(false); 2493var tuple_4 = await readerAdapter.PushEntityAsync( entity).ConfigureAwait(false);
System\Xml\Serialization\CodeGenerator.cs (5)
54Dictionary<Tuple<Type, string>, Queue<LocalBuilder>> freeLocals; 99this.freeLocals = new Dictionary<Tuple<Type, string>, Queue<LocalBuilder>>(); 233Tuple<Type, string> key = new Tuple<Type, string>(type, name); 2572public void AddToFreeLocals(Dictionary<Tuple<Type, string>, Queue<LocalBuilder>> freeLocals) { 2574Tuple<Type, string> key = new Tuple<Type, string>(item.Value.LocalType, item.Key);
WindowsBase (6)
Base\System\Windows\Threading\Dispatcher.cs (6)
1865Tuple<Object, List<String>> tuple = _reservedPtsCache as Tuple<Object, List<String>>; 1879Tuple<Object, List<String>> tuple = _reservedPtsCache as Tuple<Object, List<String>>; 2775Tuple<Object, List<String>> tuple = _reservedPtsCache as Tuple<Object, List<String>>;
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (2)
205Tuple<string, Type> result = ParseParameterValueTypeName(paramValue, rootNamespace, reader.SchemaContext, namespaceTable); 293private static Tuple<string, Type> ParseParameterValueTypeName(string paramValue, string rootNamespace, XamlSchemaContext schemaContext, NamespaceTable namespaceTable)
Microsoft\Build\Tasks\Xaml\CompilationPass2TaskInternal.cs (1)
155public IList<Tuple<AssemblyName, Assembly>> ReferencedAssemblies