2 types derived from Tuple
Microsoft.Maui.Controls (1)
MessagingCenter.cs (1)
31 class Sender : Tuple<string, Type, Type>
System.Xaml (1)
System\Xaml\Schema\ReferenceEqualityComparer.cs (1)
28internal class ReferenceEqualityTuple<T1, T2, T3> : Tuple<T1, T2, T3>
90 instantiations of Tuple
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (2)
768tuple = new Tuple<XmlSchemaType, string, object>(xmlType, originalString, typedValue); 816tuple = new Tuple<XmlSchemaType, string, object>(xmlType, originalString, typedValue);
Microsoft.AspNetCore.Owin (1)
WebSockets\WebSocketAdapter.cs (1)
86return new WebSocketReceiveTuple(
Microsoft.Build.Engine.UnitTests (49)
FileMatcher_Tests.cs (49)
525new Tuple<string, string, bool>("a", "a", true), 526new Tuple<string, string, bool>("a", "", false), 527new Tuple<string, string, bool>("", "a", false), 530new Tuple<string, string, bool>("šđčćž", "šđčćž", true), 533new Tuple<string, string, bool>("abc", "*bc", true), 534new Tuple<string, string, bool>("abc", "a*c", true), 535new Tuple<string, string, bool>("abc", "ab*", true), 536new Tuple<string, string, bool>("ab", "*ab", true), 537new Tuple<string, string, bool>("ab", "a*b", true), 538new Tuple<string, string, bool>("ab", "ab*", true), 539new Tuple<string, string, bool>("aba", "ab*ba", false), 540new Tuple<string, string, bool>("", "*", true), 543new Tuple<string, string, bool>("abc", "?bc", true), 544new Tuple<string, string, bool>("abc", "a?c", true), 545new Tuple<string, string, bool>("abc", "ab?", true), 546new Tuple<string, string, bool>("ab", "?ab", false), 547new Tuple<string, string, bool>("ab", "a?b", false), 548new Tuple<string, string, bool>("ab", "ab?", false), 549new Tuple<string, string, bool>("", "?", false), 552new Tuple<string, string, bool>("a", "*?", true), 553new Tuple<string, string, bool>("a", "?*", true), 554new Tuple<string, string, bool>("ab", "*?", true), 555new Tuple<string, string, bool>("ab", "?*", true), 556new Tuple<string, string, bool>("abc", "*?", true), 557new Tuple<string, string, bool>("abc", "?*", true), 560new Tuple<string, string, bool>("a", "??", false), 561new Tuple<string, string, bool>("ab", "?*?", true), 562new Tuple<string, string, bool>("ab", "*?*?*", true), 563new Tuple<string, string, bool>("abc", "?**?*?", true), 564new Tuple<string, string, bool>("abc", "?**?*c?", false), 565new Tuple<string, string, bool>("abcd", "?b*??", true), 566new Tuple<string, string, bool>("abcd", "?a*??", false), 567new Tuple<string, string, bool>("abcd", "?**?c?", true), 568new Tuple<string, string, bool>("abcd", "?**?d?", false), 569new Tuple<string, string, bool>("abcde", "?*b*?*d*?", true), 572new Tuple<string, string, bool>("?", "?", true), 573new Tuple<string, string, bool>("?a", "?a", true), 574new Tuple<string, string, bool>("a?", "a?", true), 575new Tuple<string, string, bool>("a?b", "a?", false), 576new Tuple<string, string, bool>("a?ab", "a?aab", false), 577new Tuple<string, string, bool>("aa?bbbc?d", "aa?bbc?dd", false), 580new Tuple<string, string, bool>("*", "*", true), 581new Tuple<string, string, bool>("*a", "*a", true), 582new Tuple<string, string, bool>("a*", "a*", true), 583new Tuple<string, string, bool>("a*b", "a*", true), 584new Tuple<string, string, bool>("a*ab", "a*aab", false), 585new Tuple<string, string, bool>("a*abab", "a*b", true), 586new Tuple<string, string, bool>("aa*bbbc*d", "aa*bbc*dd", false), 587new Tuple<string, string, bool>("aa*bbbc*d", "a*bbc*d", true)
Microsoft.CodeAnalysis (1)
StrongName\StrongNameKeys.cs (1)
159cachedKeyPair = new Tuple<ImmutableArray<byte>, ImmutableArray<byte>, RSAParameters?>(keyPair, publicKey, privateKey);
Microsoft.CodeAnalysis.UnitTests (33)
Collections\ImmutableSetTest.cs (33)
298new SetTriad(SetWith<int>(), Array.Empty<int>(), true), 299new SetTriad(SetWith<int>(5), new int[] { 5 }, true), 300new SetTriad(SetWith<int>(5), new int[] { 5, 5 }, true), 301new SetTriad(SetWith<int>(5, 8), new int[] { 5, 5 }, false), 302new SetTriad(SetWith<int>(5, 8), new int[] { 5, 7 }, false), 303new SetTriad(SetWith<int>(5, 8), new int[] { 5, 8 }, true), 304new SetTriad(SetWith<int>(5), Array.Empty<int>(), false), 305new SetTriad(SetWith<int>(), new int[] { 5 }, false), 306new SetTriad(SetWith<int>(5, 8), new int[] { 5 }, false), 307new SetTriad(SetWith<int>(5), new int[] { 5, 8 }, false), 308new SetTriad(SetWith<int>(5, 8), SetWith<int>(5, 8), true), 316new SetTriad(Array.Empty<int>(), Array.Empty<int>(), false), 317new SetTriad(new int[] { 1 }, Array.Empty<int>(), false), 318new SetTriad(new int[] { 1 }, new int[] { 2 }, false), 319new SetTriad(new int[] { 1 }, new int[] { 2, 3 }, false), 320new SetTriad(new int[] { 1 }, new int[] { 1, 2 }, true), 321new SetTriad(Array.Empty<int>(), new int[] { 1 }, true), 329new SetTriad(Array.Empty<int>(), Array.Empty<int>(), true), 330new SetTriad(new int[] { 1 }, new int[] { 1 }, true), 331new SetTriad(new int[] { 1, 2 }, new int[] { 1, 2 }, true), 332new SetTriad(new int[] { 1 }, Array.Empty<int>(), false), 333new SetTriad(new int[] { 1 }, new int[] { 2 }, false), 334new SetTriad(new int[] { 1 }, new int[] { 2, 3 }, false), 347new SetTriad(Array.Empty<int>(), Array.Empty<int>(), false), 348new SetTriad(Array.Empty<int>(), new int[] { 1 }, false), 349new SetTriad(new int[] { 1 }, new int[] { 2 }, false), 350new SetTriad(new int[] { 1 }, new int[] { 2, 3 }, false), 351new SetTriad(new int[] { 1, 2 }, new int[] { 3 }, false), 352new SetTriad(new int[] { 1 }, new int[] { 1, 2 }, true), 353new SetTriad(new int[] { 1, 2 }, new int[] { 1 }, true), 354new SetTriad(new int[] { 1 }, new int[] { 1 }, true), 355new SetTriad(new int[] { 1, 2 }, new int[] { 2, 3, 4 }, true), 384return new Tuple<IEnumerable<T>, IEnumerable<T>, bool>(scenario.Item2, scenario.Item1, scenario.Item3);
Microsoft.ML.TimeSeries (1)
RootCauseAnalyzer.cs (1)
125return new Tuple<PointTree, PointTree, Dictionary<Dictionary<string, Object>, TimeSeriesPoint>>(pointTree, anomalyTree, dimPointMapping);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (1)
36return new Tuple<T1, T2, T3>(item1, item2, item3);
xunit.assert (2)
CollectionAsserts.cs (2)
84 errors.Add(new Tuple<int, string, Exception>(idx, ArgumentFormatter.Format(item), ex)); 138 errors.Add(new Tuple<int, string, Exception>(idx, ArgumentFormatter.Format(item), ex));
184 references to Tuple
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (4)
182var tuple_10 = await InternalReadElementContentAsObjectTupleAsync(false).ConfigureAwait(false); 739var tuple_13 = await InternalReadElementContentAsObjectTupleAsync(unwrapTypedValue).ConfigureAwait(false); 744private async Task<Tuple<XmlSchemaType, string, object>> InternalReadElementContentAsObjectTupleAsync(bool unwrapTypedValue) 746Tuple<XmlSchemaType, string, object> tuple;
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsMiddleware.cs (1)
195var (middleware, context, result) = (Tuple<CorsMiddleware, HttpContext, CorsResult>)state;
Microsoft.AspNetCore.DataProtection.Tests (4)
KeyManagement\KeyRingProviderTests.cs (4)
458var resolveDefaultKeyPolicyReturnValues = new List<Tuple<DateTimeOffset, IEnumerable<IKey>, DefaultKeyResolution>>() 756IEnumerable<Tuple<DateTimeOffset, DateTimeOffset, IKey>> createNewKeyCallbacks, 757IEnumerable<Tuple<DateTimeOffset, IEnumerable<IKey>, DefaultKeyResolution>> resolveDefaultKeyPolicyReturnValues, 800var current = resolveDefaultKeyPolicyReturnValuesEnumerator.Current;
Microsoft.AspNetCore.Diagnostics (6)
src\Shared\Diagnostics\AttributeValue.cs (3)
23public static AttributeValue FromTuple(Tuple<string, object, bool> value) 28public static AttributeValue FromTuple(Tuple<string, string, bool> value) 33public static implicit operator AttributeValue(Tuple<string, object, bool> value)
src\Shared\RazorViews\AttributeValue.cs (3)
23public static AttributeValue FromTuple(Tuple<string, object, bool> value) 28public static AttributeValue FromTuple(Tuple<string, string, bool> value) 33public static implicit operator AttributeValue(Tuple<string, object, bool> value)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (6)
src\Shared\Diagnostics\AttributeValue.cs (3)
23public static AttributeValue FromTuple(Tuple<string, object, bool> value) 28public static AttributeValue FromTuple(Tuple<string, string, bool> value) 33public static implicit operator AttributeValue(Tuple<string, object, bool> value)
src\Shared\RazorViews\AttributeValue.cs (3)
23public static AttributeValue FromTuple(Tuple<string, object, bool> value) 28public static AttributeValue FromTuple(Tuple<string, string, bool> value) 33public static implicit operator AttributeValue(Tuple<string, object, bool> value)
Microsoft.AspNetCore.Hosting (3)
src\Shared\RazorViews\AttributeValue.cs (3)
23public static AttributeValue FromTuple(Tuple<string, object, bool> value) 28public static AttributeValue FromTuple(Tuple<string, string, bool> value) 33public static implicit operator AttributeValue(Tuple<string, object, bool> value)
Microsoft.AspNetCore.Owin (5)
WebSockets\OwinWebSocketAdapter.cs (2)
17Task<Tuple<int /* messageType */, 104var rawResult = await _receiveAsync(buffer, cancellationToken);
WebSockets\WebSocketAdapter.cs (3)
17Task<Tuple<int /* messageType */, 21Tuple<int /* messageType */, 76internal async Task<WebSocketReceiveTuple> ReceiveAsync(ArraySegment<byte> buffer, CancellationToken cancel)
Microsoft.AspNetCore.Server.IIS (3)
src\Shared\RazorViews\AttributeValue.cs (3)
23public static AttributeValue FromTuple(Tuple<string, object, bool> value) 28public static AttributeValue FromTuple(Tuple<string, string, bool> value) 33public static implicit operator AttributeValue(Tuple<string, object, bool> value)
Microsoft.Build.Engine.UnitTests (2)
FileMatcher_Tests.cs (2)
522var inputs = new List<Tuple<string, string, bool>> 589foreach (var input in inputs)
Microsoft.CodeAnalysis (2)
StrongName\StrongNameKeys.cs (2)
125private static Tuple<ImmutableArray<byte>, ImmutableArray<byte>, RSAParameters?>? s_lastSeenKeyPair; 135var cachedKeyPair = s_lastSeenKeyPair;
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (3)
55/// Stored as a <see cref="Tuple{T1, T2, T3}"/> instead of a <see cref="ValueTuple{T1, T2, T3}"/> so we don't have 58private static Tuple<ImmutableArray<AbstractFormattingRule>, SyntaxFormattingOptions, ChainedFormattingRules>? s_lastRulesAndOptions; 77var lastRulesAndOptions = s_lastRulesAndOptions;
Microsoft.CodeAnalysis.LanguageServer.Protocol (17)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (17)
22using CodeFixGroupKey = System.Tuple<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData, Microsoft.CodeAnalysis.CodeActions.CodeActionPriority, Microsoft.CodeAnalysis.CodeActions.CodeActionPriority?>; 71var map = ImmutableDictionary.CreateBuilder<CodeFixGroupKey, IList<IUnifiedSuggestedAction>>(); 72using var _ = ArrayBuilder<CodeFixGroupKey>.GetInstance(out var order); 89IDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map, 90ArrayBuilder<CodeFixGroupKey> order, 100IDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map, 101ArrayBuilder<CodeFixGroupKey> order, 130IDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map, 131ArrayBuilder<CodeFixGroupKey> order, 178IDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map, 179ArrayBuilder<CodeFixGroupKey> order) 181var groupKey = GetGroupKey(fix); 192static CodeFixGroupKey GetGroupKey(CodeFix fix) 281ImmutableDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map, 282ImmutableArray<CodeFixGroupKey> order, 289foreach (var groupKey in order) 390CodeFixGroupKey groupKey,
Microsoft.CodeAnalysis.UnitTests (13)
Collections\ImmutableSetTest.cs (13)
16using SetTriad = System.Tuple<System.Collections.Generic.IEnumerable<int>, System.Collections.Generic.IEnumerable<int>, bool>; 294private IEnumerable<SetTriad> GetSetEqualsScenarios() 296return new List<SetTriad> 312private static IEnumerable<SetTriad> GetIsProperSubsetOfScenarios() 314return new List<SetTriad> 325private static IEnumerable<SetTriad> GetIsSubsetOfScenarios() 327var results = new List<SetTriad> 343private static IEnumerable<SetTriad> GetOverlapsScenarios() 345return new List<SetTriad> 359private void SetCompareTestHelper<T>(Func<System.Collections.Immutable.IImmutableSet<T>, Func<IEnumerable<T>, bool>> operation, Func<ISet<T>, Func<IEnumerable<T>, bool>> baselineOperation, IEnumerable<Tuple<IEnumerable<T>, IEnumerable<T>, bool>> scenarios) 364foreach (var scenario in scenarios) 382private static Tuple<IEnumerable<T>, IEnumerable<T>, bool> Flip<T>(Tuple<IEnumerable<T>, IEnumerable<T>, bool> scenario)
Microsoft.CodeAnalysis.Workspaces (5)
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (2)
403IEnumerable<Tuple<string, int, TextSpan>> renameStringsAndPositions, 407foreach (var renameStringAndPosition in renameStringsAndPositions)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (3)
55/// Stored as a <see cref="Tuple{T1, T2, T3}"/> instead of a <see cref="ValueTuple{T1, T2, T3}"/> so we don't have 58private static Tuple<ImmutableArray<AbstractFormattingRule>, SyntaxFormattingOptions, ChainedFormattingRules>? s_lastRulesAndOptions; 77var lastRulesAndOptions = s_lastRulesAndOptions;
Microsoft.CodeAnalysis.Workspaces.UnitTests (34)
UtilityTest\IntervalTreeTests.cs (34)
18private protected readonly struct TupleIntrospector<T> : IIntervalIntrospector<Tuple<int, int, T>> 20public TextSpan GetSpan(Tuple<int, int, T> value) 24private IEnumerable<IIntervalTree<Tuple<int, int, string>>> CreateTrees(params Tuple<int, int, string>[] values) 25=> CreateTrees((IEnumerable<Tuple<int, int, string>>)values); 27private protected abstract IEnumerable<IIntervalTree<Tuple<int, int, string>>> CreateTrees(IEnumerable<Tuple<int, int, string>> values); 29private protected abstract ImmutableArray<Tuple<int, int, string>> GetIntervalsThatIntersectWith(IIntervalTree<Tuple<int, int, string>> tree, int start, int length); 30private protected abstract ImmutableArray<Tuple<int, int, string>> GetIntervalsThatOverlapWith(IIntervalTree<Tuple<int, int, string>> tree, int start, int length); 31private protected abstract bool HasIntervalThatIntersectsWith(IIntervalTree<Tuple<int, int, string>> tree, int position); 310private void TestOverlapsAndIntersects(IList<Tuple<int, int, string>> spans) 351private protected override IEnumerable<IIntervalTree<Tuple<int, int, string>>> CreateTrees(IEnumerable<Tuple<int, int, string>> values) 356private protected override bool HasIntervalThatIntersectsWith(IIntervalTree<Tuple<int, int, string>> tree, int position) 358return ((MutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.HasIntervalThatIntersectsWith(position, new TupleIntrospector<string>()); 361private protected override ImmutableArray<Tuple<int, int, string>> GetIntervalsThatIntersectWith(IIntervalTree<Tuple<int, int, string>> tree, int start, int length) 363return ((MutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.GetIntervalsThatIntersectWith(start, length, new TupleIntrospector<string>()); 366private protected override ImmutableArray<Tuple<int, int, string>> GetIntervalsThatOverlapWith(IIntervalTree<Tuple<int, int, string>> tree, int start, int length) 368return ((MutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.GetIntervalsThatOverlapWith(start, length, new TupleIntrospector<string>()); 374private protected override IEnumerable<IIntervalTree<Tuple<int, int, string>>> CreateTrees(IEnumerable<Tuple<int, int, string>> values) 376yield return ImmutableIntervalTree<Tuple<int, int, string>>.CreateFromUnsorted(new TupleIntrospector<string>(), [.. values]); 379private protected override bool HasIntervalThatIntersectsWith(IIntervalTree<Tuple<int, int, string>> tree, int position) 381return ((ImmutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.HasIntervalThatIntersectsWith(position, new TupleIntrospector<string>()); 384private protected override ImmutableArray<Tuple<int, int, string>> GetIntervalsThatIntersectWith(IIntervalTree<Tuple<int, int, string>> tree, int start, int length) 386return ((ImmutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.GetIntervalsThatIntersectWith(start, length, new TupleIntrospector<string>()); 389private protected override ImmutableArray<Tuple<int, int, string>> GetIntervalsThatOverlapWith(IIntervalTree<Tuple<int, int, string>> tree, int start, int length) 391return ((ImmutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.GetIntervalsThatOverlapWith(start, length, new TupleIntrospector<string>());
Microsoft.ML.Data (1)
DataLoadSave\Binary\BinarySaver.cs (1)
274var metadataInfos = new List<Tuple<string, IValueCodec, CompressionKind>>();
Microsoft.ML.TimeSeries (2)
RootCauseAnalyzer.cs (2)
48Tuple<PointTree, PointTree, Dictionary<Dictionary<string, object>, TimeSeriesPoint>> pointInfo = GetPointsInfo(src, dimensionInfo); 94private Tuple<PointTree, PointTree, Dictionary<Dictionary<string, object>, TimeSeriesPoint>> GetPointsInfo(RootCauseLocalizationInput src, DimensionInfo dimensionInfo)
Microsoft.ML.TorchSharp (2)
AutoFormerV2\ObjectDetectionMetrics.cs (2)
182List<Tuple<int, int, float>> tupleList = new(); // annotaIndex, detectIndex, iouScore 207foreach (var tuple in tupleList)
Microsoft.VisualStudio.LanguageServices (4)
Progression\GraphBuilder.cs (2)
34private readonly IList<Tuple<GraphNode, GraphProperty, object>> _deferredPropertySets = []; 828foreach (var deferredProperty in _deferredPropertySets)
Venus\ContainedLanguage.IVsContainedLanguageCodeSupport.cs (1)
60Tuple<string, string, TextSpan> idBodyAndInsertionPoint = null;
Venus\ContainedLanguageCodeSupport.cs (1)
143public static Tuple<string, string, VsTextSpan> EnsureEventHandler(
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1201[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Tuple<,,>))]
netstandard (1)
netstandard.cs (1)
2202[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Tuple<,,>))]
System.ComponentModel.Composition.Registration (6)
System\ComponentModel\Composition\Registration\PartBuilder.cs (6)
28private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type>> _propertyExports; 29private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type>> _propertyImports; 40_propertyExports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type>>(); 41_propertyImports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type>>(); 430foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type> importSpecification in _propertyImports) 470foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type> exportSpecification in _propertyExports)
System.Composition.Convention (3)
System\Composition\Convention\PartConventionBuilder.cs (3)
33private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type>> _propertyExports; 44_propertyExports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type>>(); 713foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type> exportSpecification in _propertyExports)
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (3)
34public static Tuple<T1, T2, T3> Create<T1, T2, T3>(T1 item1, T2 item2, T3 item3) 375if (other is not Tuple<T1, T2, T3> objTuple) 397if (other is not Tuple<T1, T2, T3> objTuple)
src\libraries\System.Private.CoreLib\src\System\TupleExtensions.cs (9)
45this Tuple<T1, T2, T3> value, 157this Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10>> value, 318this Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17>>> value, 485this Tuple<T1, T2, T3> value) 557this Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10>> value) 636this Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17>>> value) 716public static Tuple<T1, T2, T3> 788public static Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10>> 867public static Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17>>>
src\libraries\System.Private.CoreLib\src\System\TupleSlim.cs (1)
20/// <summary>Simple alternative to <see cref="Tuple{T1, T2, T3}"/> for use in corelib.</summary>
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
851[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Tuple<,,>))]
System.Threading.Tasks.Dataflow (39)
Base\DataflowBlock.cs (2)
2069Tuple<Action<T>, T, int> actionResultBranch = (Tuple<Action<T>, T, int>)state!;
Blocks\BatchedJoinBlock.cs (18)
272public sealed class BatchedJoinBlock<T1, T2, T3> : IReceivableSourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>, IDebuggerDisplay 285private readonly SourceCore<Tuple<IList<T1>, IList<T2>, IList<T3>>> _source; 315_source = new SourceCore<Tuple<IList<T1>, IList<T2>, IList<T3>>>( 378public IDisposable LinkTo(ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>> target, DataflowLinkOptions linkOptions) 384public bool TryReceive(Predicate<Tuple<IList<T1>, IList<T2>, IList<T3>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>, IList<T3>>? item) 390public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<IList<T1>, IList<T2>, IList<T3>>>? items) { return _source.TryReceiveAll(out items); } 427Tuple<IList<T1>, IList<T2>, IList<T3>>? ISourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>.ConsumeMessage( 428DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>> target, out bool messageConsumed) 434bool ISourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>.ReserveMessage( 435DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>> target) 441void ISourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>.ReleaseReservation( 442DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>> target) 476private readonly SourceCore<Tuple<IList<T1>, IList<T2>, IList<T3>>>.DebuggingInformation _sourceDebuggingInformation; 488public IEnumerable<Tuple<IList<T1>, IList<T2>, IList<T3>>> OutputQueue { get { return _sourceDebuggingInformation.OutputQueue; } } 514public TargetRegistry<Tuple<IList<T1>, IList<T2>, IList<T3>>> LinkedTargets { get { return _sourceDebuggingInformation.LinkedTargets; } } 516public ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>? NextMessageReservedFor { get { return _sourceDebuggingInformation.NextMessageReservedFor; } }
Blocks\JoinBlock.cs (19)
250public sealed class JoinBlock<T1, T2, T3> : IReceivableSourceBlock<Tuple<T1, T2, T3>>, IDebuggerDisplay 255private readonly SourceCore<Tuple<T1, T2, T3>> _source; 279Action<ISourceBlock<Tuple<T1, T2, T3>>, int>? onItemsRemoved = null; 283_source = new SourceCore<Tuple<T1, T2, T3>>(this, dataflowBlockOptions, 329public IDisposable LinkTo(ITargetBlock<Tuple<T1, T2, T3>> target, DataflowLinkOptions linkOptions) 335public bool TryReceive(Predicate<Tuple<T1, T2, T3>>? filter, [NotNullWhen(true)] out Tuple<T1, T2, T3>? item) 341public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<T1, T2, T3>>? items) { return _source.TryReceiveAll(out items); } 387Tuple<T1, T2, T3>? ISourceBlock<Tuple<T1, T2, T3>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock<Tuple<T1, T2, T3>> target, out bool messageConsumed) 393bool ISourceBlock<Tuple<T1, T2, T3>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock<Tuple<T1, T2, T3>> target) 399void ISourceBlock<Tuple<T1, T2, T3>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock<Tuple<T1, T2, T3>> target) 423private readonly SourceCore<Tuple<T1, T2, T3>>.DebuggingInformation _sourceDebuggingInformation; 435public IEnumerable<Tuple<T1, T2, T3>> OutputQueue { get { return _sourceDebuggingInformation.OutputQueue; } } 461public TargetRegistry<Tuple<T1, T2, T3>> LinkedTargets { get { return _sourceDebuggingInformation.LinkedTargets; } } 463public ITargetBlock<Tuple<T1, T2, T3>>? NextMessageReservedFor { get { return _sourceDebuggingInformation.NextMessageReservedFor; } }
xunit.assert (3)
CollectionAsserts.cs (2)
73 var errors = new List<Tuple<int, string, Exception>>(); 127 var errors = new List<Tuple<int, string, Exception>>();
Sdk\Exceptions\AllException.cs (1)
42 IReadOnlyList<Tuple<int, string, Exception>> errors)