3 overrides of OriginalDefinition
Microsoft.CodeAnalysis.CSharp (3)
Symbols\SubstitutedFieldSymbol.cs (1)
54
public override FieldSymbol
OriginalDefinition
Symbols\Tuples\TupleErrorFieldSymbol.cs (1)
107
public override FieldSymbol
OriginalDefinition
Symbols\Tuples\TupleFieldSymbol.cs (1)
104
public override FieldSymbol
OriginalDefinition
27 references to OriginalDefinition
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder_Expressions.cs (1)
8604
if ((object)Compilation.SourceModule != fieldSymbol.
OriginalDefinition
.ContainingModule &&
Emitter\Model\FieldSymbolAdapter.cs (1)
294
return AdaptedFieldSymbol.
OriginalDefinition
.GetCciAdapter();
Emitter\Model\SpecializedFieldReference.cs (2)
48
Debug.Assert(_underlyingField.
OriginalDefinition
.IsDefinition);
49
return _underlyingField.
OriginalDefinition
.GetCciAdapter();
FlowAnalysis\DefiniteAssignment.cs (3)
968
var field = fieldAccess.FieldSymbol.
OriginalDefinition
;
998
var field = associatedField.
OriginalDefinition
;
1638
_sourceAssembly.NoteFieldAccess(field.
OriginalDefinition
,
FlowAnalysis\NullableWalker.cs (1)
815
case FieldSymbol {
OriginalDefinition
: SynthesizedPrimaryConstructorParameterBackingFieldSymbol }:
Lowering\MethodToClassRewriter.cs (3)
547
var rewrittenField = ((FieldSymbol)node.Field.
OriginalDefinition
)
556
var fieldSymbol = ((FieldSymbol)node.FieldSymbol.
OriginalDefinition
)
691
return ((FieldSymbol)field.
OriginalDefinition
)
Symbols\FieldSymbol.cs (3)
51
return this.
OriginalDefinition
;
348
return this.
OriginalDefinition
.GetUseSiteInfo();
481
return this.
OriginalDefinition
.TupleElementIndex;
Symbols\PublicModel\FieldSymbol.cs (1)
62
return _underlying.
OriginalDefinition
.GetPublicSymbol();
Symbols\SubstitutedFieldSymbol.cs (2)
22
: base((FieldSymbol)substitutedFrom.
OriginalDefinition
)
119
return (object)other != null && TypeSymbol.Equals(_containingType, other.ContainingType, compareKind) && OriginalDefinition == other.
OriginalDefinition
;
Symbols\Tuples\TupleFieldSymbol.cs (4)
113
return originalContainer.GetTupleMemberSymbolForUnderlyingMember(_underlyingField.
OriginalDefinition
)!;
214
return new TupleElementFieldSymbol(newOwner, _underlyingField.
OriginalDefinition
.AsMember(newUnderlyingOwner), TupleElementIndex, Locations, IsImplicitlyDeclared);
340
newCorrespondingDefaultFieldOpt = _correspondingDefaultField.
OriginalDefinition
.AsMember(newOwner);
343
return new TupleVirtualElementFieldSymbol(newOwner, _underlyingField.
OriginalDefinition
.AsMember(newUnderlyingOwner), _name, TupleElementIndex, Locations, _cannotUse, IsImplicitlyDeclared, newCorrespondingDefaultFieldOpt);
Symbols\Tuples\TupleTypeSymbol.cs (6)
605
var underlyingField = field is TupleElementFieldSymbol tupleElement ? tupleElement.UnderlyingField.
OriginalDefinition
: field.
OriginalDefinition
;
830
fields.Add(tupleField.UnderlyingField.
OriginalDefinition
);
834
fields.Add(field.
OriginalDefinition
);
1073
map[tupleUnderlyingField.
OriginalDefinition
] = member;
1085
map.Add(underlyingAssociatedField.
OriginalDefinition
, underlyingAssociatedField);