2 interfaces inheriting from ITuple
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (1)
16
internal interface ITupleInternal :
ITuple
src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (1)
18
internal interface IValueTupleInternal :
ITuple
17 implementations of ITuple
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (8)
105
public class Tuple<T1> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal,
ITuple
222
public class Tuple<T1, T2> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal,
ITuple
344
public class Tuple<T1, T2, T3> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal,
ITuple
476
public class Tuple<T1, T2, T3, T4> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal,
ITuple
618
public class Tuple<T1, T2, T3, T4, T5> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal,
ITuple
770
public class Tuple<T1, T2, T3, T4, T5, T6> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal,
ITuple
932
public class Tuple<T1, T2, T3, T4, T5, T6, T7> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal,
ITuple
1104
public 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)
730
return 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)
202
int
ITuple
.Length => 1;
207
object?
ITuple
.this[int index]
328
int
ITuple
.Length => 2;
333
object?
ITuple
.this[int index] =>
459
int
ITuple
.Length => 3;
464
object?
ITuple
.this[int index] =>
600
int
ITuple
.Length => 4;
605
object?
ITuple
.this[int index] =>
751
int
ITuple
.Length => 5;
756
object?
ITuple
.this[int index] =>
912
int
ITuple
.Length => 6;
917
object?
ITuple
.this[int index] =>
1083
int
ITuple
.Length => 7;
1088
object?
ITuple
.this[int index] =>
1291
int
ITuple
.Length => 7 + ((ITupleInternal)Rest).Length;
1296
object?
ITuple
.this[int index] =>
src\libraries\System.Private.CoreLib\src\System\TupleExtensions.cs (2)
925
private 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
=>
928
private 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)
134
int
ITuple
.Length => 0;
139
object?
ITuple
.this[int index] => throw new IndexOutOfRangeException();
401
int
ITuple
.Length => 1;
406
object?
ITuple
.this[int index]
606
int
ITuple
.Length => 2;
611
object?
ITuple
.this[int index] =>
803
int
ITuple
.Length => 3;
808
object?
ITuple
.this[int index] =>
1018
int
ITuple
.Length => 4;
1023
object?
ITuple
.this[int index] =>
1251
int
ITuple
.Length => 5;
1256
object?
ITuple
.this[int index] =>
1502
int
ITuple
.Length => 6;
1507
object?
ITuple
.this[int index] =>
1771
int
ITuple
.Length => 7;
1776
object?
ITuple
.this[int index] =>
2194
int
ITuple
.Length => Rest is IValueTupleInternal ? 7 + ((IValueTupleInternal)Rest).Length : 8;
2199
object?
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,