3 overrides of TupleElementIndex
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
121public override int TupleElementIndex => _underlyingField.TupleElementIndex;
Symbols\Tuples\TupleErrorFieldSymbol.cs (1)
68public override int TupleElementIndex
Symbols\Tuples\TupleFieldSymbol.cs (1)
68public sealed override int TupleElementIndex
13 references to TupleElementIndex
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Patterns.cs (1)
1308if (foundElement is null || foundElement.TupleElementIndex != tupleIndex)
Binder\PatternExplainer.cs (1)
480var 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)
498outputSlot = originalInputElementSlots[originalTupleElement.TupleElementIndex]; 514((BoundTupleExpression)expression).Arguments[originalTupleElement.TupleElementIndex]); 518Debug.Assert(originalInputMap[outputSlot] == ((BoundTupleExpression)expression).Arguments[originalTupleElement.TupleElementIndex]);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
664field.TupleElementIndex is int i)
Symbols\FieldSymbol.cs (3)
415return TupleElementIndex >= 0; 451return TupleElementIndex >= 0 ? this : null; 481return this.OriginalDefinition.TupleElementIndex;
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
121public override int TupleElementIndex => _underlyingField.TupleElementIndex;
Symbols\Tuples\TupleTypeSymbol.cs (1)
1022var index = candidate.TupleElementIndex;