3 overrides of TupleElementIndex
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
121
public override int
TupleElementIndex
=> _underlyingField.TupleElementIndex;
Symbols\Tuples\TupleErrorFieldSymbol.cs (1)
68
public override int
TupleElementIndex
Symbols\Tuples\TupleFieldSymbol.cs (1)
68
public sealed override int
TupleElementIndex
13 references to TupleElementIndex
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Patterns.cs (1)
1308
if (foundElement is null || foundElement.
TupleElementIndex
!= tupleIndex)
Binder\PatternExplainer.cs (1)
480
var index = e.Field.
TupleElementIndex
;
FlowAnalysis\NullableWalker.cs (2)
3603
(FieldSymbol { ContainingType: { IsTupleType: true },
TupleElementIndex
: var oi } originalField, FieldSymbol { ContainingType: { IsTupleType: true },
TupleElementIndex
: var ui } updatedField) =>
FlowAnalysis\NullableWalker_Patterns.cs (3)
498
outputSlot = originalInputElementSlots[originalTupleElement.
TupleElementIndex
];
514
((BoundTupleExpression)expression).Arguments[originalTupleElement.
TupleElementIndex
]);
518
Debug.Assert(originalInputMap[outputSlot] == ((BoundTupleExpression)expression).Arguments[originalTupleElement.
TupleElementIndex
]);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
664
field.
TupleElementIndex
is int i)
Symbols\FieldSymbol.cs (3)
415
return
TupleElementIndex
>= 0;
451
return
TupleElementIndex
>= 0 ? this : null;
481
return this.OriginalDefinition.
TupleElementIndex
;
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
121
public override int TupleElementIndex => _underlyingField.
TupleElementIndex
;
Symbols\Tuples\TupleTypeSymbol.cs (1)
1022
var index = candidate.
TupleElementIndex
;