2 interfaces inheriting from ITuple
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (1)
16internal interface ITupleInternal : ITuple
src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (1)
18internal interface IValueTupleInternal : ITuple
17 implementations of ITuple
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (8)
105public class Tuple<T1> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple 222public class Tuple<T1, T2> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple 344public class Tuple<T1, T2, T3> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple 476public class Tuple<T1, T2, T3, T4> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple 618public class Tuple<T1, T2, T3, T4, T5> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple 770public class Tuple<T1, T2, T3, T4, T5, T6> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple 932public class Tuple<T1, T2, T3, T4, T5, T6, T7> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple 1104public class Tuple<T1, T2, T3, T4, T5, T6, T7, TRest> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple where TRest : notnull
src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (9)
35: IEquatable<ValueTuple>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple>, IValueTupleInternal, ITuple 264: IEquatable<ValueTuple<T1>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1>>, IValueTupleInternal, ITuple 428: IEquatable<ValueTuple<T1, T2>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2>>, IValueTupleInternal, ITuple 630: IEquatable<ValueTuple<T1, T2, T3>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3>>, IValueTupleInternal, ITuple 829: IEquatable<ValueTuple<T1, T2, T3, T4>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4>>, IValueTupleInternal, ITuple 1046: IEquatable<ValueTuple<T1, T2, T3, T4, T5>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5>>, IValueTupleInternal, ITuple 1281: IEquatable<ValueTuple<T1, T2, T3, T4, T5, T6>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5, T6>>, IValueTupleInternal, ITuple 1534: IEquatable<ValueTuple<T1, T2, T3, T4, T5, T6, T7>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5, T6, T7>>, IValueTupleInternal, ITuple 1805: IEquatable<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>, IValueTupleInternal, ITuple
42 references to ITuple
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (1)
730return obj is ITuple;
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
571[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ITuple))]
netstandard (1)
netstandard.cs (1)
1557[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ITuple))]
System.Private.CoreLib (36)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (16)
202int ITuple.Length => 1; 207object? ITuple.this[int index] 328int ITuple.Length => 2; 333object? ITuple.this[int index] => 459int ITuple.Length => 3; 464object? ITuple.this[int index] => 600int ITuple.Length => 4; 605object? ITuple.this[int index] => 751int ITuple.Length => 5; 756object? ITuple.this[int index] => 912int ITuple.Length => 6; 917object? ITuple.this[int index] => 1083int ITuple.Length => 7; 1088object? ITuple.this[int index] => 1291int ITuple.Length => 7 + ((ITupleInternal)Rest).Length; 1296object? ITuple.this[int index] =>
src\libraries\System.Private.CoreLib\src\System\TupleExtensions.cs (2)
925private static ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest> CreateLong<T1, T2, T3, T4, T5, T6, T7, TRest>(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) where TRest : struct, ITuple => 928private static Tuple<T1, T2, T3, T4, T5, T6, T7, TRest> CreateLongRef<T1, T2, T3, T4, T5, T6, T7, TRest>(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) where TRest : ITuple =>
src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (18)
134int ITuple.Length => 0; 139object? ITuple.this[int index] => throw new IndexOutOfRangeException(); 401int ITuple.Length => 1; 406object? ITuple.this[int index] 606int ITuple.Length => 2; 611object? ITuple.this[int index] => 803int ITuple.Length => 3; 808object? ITuple.this[int index] => 1018int ITuple.Length => 4; 1023object? ITuple.this[int index] => 1251int ITuple.Length => 5; 1256object? ITuple.this[int index] => 1502int ITuple.Length => 6; 1507object? ITuple.this[int index] => 1771int ITuple.Length => 7; 1776object? ITuple.this[int index] => 2194int ITuple.Length => Rest is IValueTupleInternal ? 7 + ((IValueTupleInternal)Rest).Length : 8; 2199object? ITuple.this[int index]
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
608[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ITuple))]
xunit.assert (2)
Sdk\ArgumentFormatter.cs (2)
254 if (value is ITuple tuple) 450 ITuple tupleParameter,