3 instantiations of TupleVirtualElementFieldSymbol
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Tuples\TupleFieldSymbol.cs (1)
343return new TupleVirtualElementFieldSymbol(newOwner, _underlyingField.OriginalDefinition.AsMember(newUnderlyingOwner), _name, TupleElementIndex, Locations, _cannotUse, IsImplicitlyDeclared, newCorrespondingDefaultFieldOpt);
Symbols\Tuples\TupleTypeSymbol.cs (2)
640defaultTupleField = new TupleVirtualElementFieldSymbol(this, 676members.Add(new TupleVirtualElementFieldSymbol(this,
7 references to TupleVirtualElementFieldSymbol
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\LocalDataFlowPass.cs (1)
174var restField = containingType.GetMembers(NamedTypeSymbol.ValueTupleRestFieldName).FirstOrDefault(s => s is not TupleVirtualElementFieldSymbol) as FieldSymbol;
Symbols\Tuples\TupleFieldSymbol.cs (3)
47Debug.Assert(container.Equals(underlyingField.ContainingType, TypeCompareKind.IgnoreDynamicAndTupleNames) || this is TupleVirtualElementFieldSymbol, 48"virtual fields should be represented by " + nameof(TupleVirtualElementFieldSymbol)); 271"fields that map directly to underlying should not be represented by " + nameof(TupleVirtualElementFieldSymbol));
Symbols\Tuples\TupleTypeSymbol.cs (3)
573Debug.Assert(currentMembers.All(m => !(m is TupleVirtualElementFieldSymbol))); 597if (field is TupleVirtualElementFieldSymbol) 824if (member is TupleVirtualElementFieldSymbol)