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
28 references to OriginalDefinition
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder_Expressions.cs (1)
8983
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)
983
var field = fieldAccess.FieldSymbol.
OriginalDefinition
;
1013
var field = associatedField.
OriginalDefinition
;
1653
_sourceAssembly.NoteFieldAccess(field.
OriginalDefinition
,
FlowAnalysis\NullableWalker.cs (1)
825
case FieldSymbol {
OriginalDefinition
: SynthesizedPrimaryConstructorParameterBackingFieldSymbol }:
Lowering\ExtensionMethodBodyRewriter.cs (1)
172
return symbol.
OriginalDefinition
Lowering\MethodToClassRewriter.cs (3)
349
var rewrittenField = ((FieldSymbol)node.Field.
OriginalDefinition
)
358
var fieldSymbol = ((FieldSymbol)node.FieldSymbol.
OriginalDefinition
)
418
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);