3 overrides of OriginalDefinition
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\SubstitutedErrorType.vb (1)
51
Public Overrides ReadOnly Property
OriginalDefinition
As NamedTypeSymbol
Symbols\SubstitutedNamedType.vb (1)
92
Public NotOverridable Overrides ReadOnly Property
OriginalDefinition
As NamedTypeSymbol
Symbols\UnboundGenericType.vb (1)
99
Public MustOverride Overrides ReadOnly Property
OriginalDefinition
As NamedTypeSymbol
60 references to OriginalDefinition
Microsoft.CodeAnalysis.VisualBasic (60)
Emit\NamedTypeSymbolAdapter.vb (1)
863
Return moduleBeingBuilt.Translate(AdaptedNamedTypeSymbol.
OriginalDefinition
, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode),
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
304
Dim otherTypeDef As NamedTypeSymbol = type.
OriginalDefinition
Symbols\BaseTypeAnalysis.vb (8)
99
DirectCast(this.
OriginalDefinition
, SourceNamedTypeSymbol),
193
Debug.Assert(TypeSymbol.Equals(root.
OriginalDefinition
, root, TypeCompareKind.ConsiderEverything), "root must not be a substitution")
265
Dim slow = this.
OriginalDefinition
275
fast = TryCast(fast.
OriginalDefinition
, NamedTypeSymbol)
286
fast = TryCast(fast.
OriginalDefinition
, NamedTypeSymbol)
295
slow = slow.GetDeclaredBase(Nothing).
OriginalDefinition
310
base = TryCast(base.
OriginalDefinition
, NamedTypeSymbol)
337
base = TryCast(base.
OriginalDefinition
, NamedTypeSymbol)
Symbols\ConstraintsHelper.vb (3)
591
Return CheckConstraints(type, languageVersion, substitution, type.
OriginalDefinition
.TypeParameters, type.TypeArgumentsNoUseSiteDiagnostics, diagnosticsBuilder, useSiteDiagnosticsBuilder, template)
1165
type = type.
OriginalDefinition
1228
If type.
OriginalDefinition
Is type Then
Symbols\FieldSymbol.vb (1)
396
Debug.Assert(newOwner.
OriginalDefinition
Is Me.ContainingSymbol.OriginalDefinition)
Symbols\Metadata\PE\MetadataDecoder.vb (1)
205
Dim containingAssembly As AssemblySymbol = symbol.
OriginalDefinition
.ContainingAssembly
Symbols\Metadata\PE\TupleTypeDecoder.vb (2)
197
decodedType = decodedType.
OriginalDefinition
.AsMember(decodedContainingType)
224
Dim definition = type.
OriginalDefinition
Symbols\NamedTypeSymbol.vb (8)
813
iface.
OriginalDefinition
.AddUseSiteInfo(useSiteInfo)
966
Return Me.
OriginalDefinition
1003
Dim definitionUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = DeriveUseSiteInfoFromType(Me.
OriginalDefinition
)
1296
If Not fieldNamedType.
OriginalDefinition
.KnownCircularStruct Then
1367
Return Me.
OriginalDefinition
1541
Loop While TypeSymbol.Equals(typeToCheck.OriginalDefinition, Me.
OriginalDefinition
, TypeCompareKind.ConsiderEverything) AndAlso Not typeToCheck.IsDefinition
1545
If underlying.Arity = TupleTypeSymbol.RestPosition AndAlso Not TypeSymbol.Equals(underlying.
OriginalDefinition
, Me.
OriginalDefinition
, TypeCompareKind.ConsiderEverything) Then
Symbols\OverriddenMembersResult.vb (2)
91
Dim overriddenByDefinitionContainingTypeDefinition As NamedTypeSymbol = overriddenByDefinitionContaining.
OriginalDefinition
94
If TypeSymbol.Equals(baseType.
OriginalDefinition
, overriddenByDefinitionContainingTypeDefinition, TypeCompareKind.ConsiderEverything) Then
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
152
Debug.Assert(type Is type.
OriginalDefinition
)
390
Dim originalDefinition As NamedTypeSymbol = type.
OriginalDefinition
Symbols\Source\OverrideHidingHelper.vb (1)
745
Dim accessible = AccessCheck.IsSymbolAccessible(sym.OriginalDefinition, overridingContainingType.
OriginalDefinition
, Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (13)
774
CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.
OriginalDefinition
)))
801
CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.
OriginalDefinition
)))
836
outermostVarianceContainerOfType = container.
OriginalDefinition
873
CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.
OriginalDefinition
)))
889
CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.
OriginalDefinition
)))
2137
If current.ContainingDefinitionsPath.ContainsReference(fieldType.
OriginalDefinition
) Then
2140
data.TypesWithCycle.Add(fieldType.
OriginalDefinition
)
2142
If current.Report AndAlso Not cycleReportedForCurrentType AndAlso fieldType.
OriginalDefinition
.Equals(Me) Then
2176
ElseIf Not data.ProcessedTypes.Contains(fieldType) AndAlso Not data.TypesWithCycle.Contains(fieldType.
OriginalDefinition
) Then
2188
Dim stepIntoType As Boolean = DetectTypeCircularity_ShouldStepIntoType(fieldType.
OriginalDefinition
)
2196
fieldType.
OriginalDefinition
, New ConsList(Of FieldSymbol)(field, current.FieldPath),
2197
current.ContainingDefinitionsPath.Prepend(fieldType.
OriginalDefinition
),
3964
CustomSymbolDisplayFormatter.ErrorNameWithKind(interface1.
OriginalDefinition
))
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
279
ElseIf classType.
OriginalDefinition
Is candidate Then
Symbols\SubstitutedErrorType.vb (1)
81
Debug.Assert(substitution IsNot Nothing AndAlso substitution.TargetGenericDefinition Is Me.ContainingType.
OriginalDefinition
)
Symbols\Tuples\TupleTypeSymbol.vb (9)
694
Dim members = ArrayBuilder(Of Symbol).GetInstance(Math.Max(_elementTypes.Length, _underlyingType.
OriginalDefinition
.GetMembers().Length))
704
Dim underlyingMembers As ImmutableArray(Of Symbol) = currentUnderlying.
OriginalDefinition
.GetMembers()
813
underlyingMembers = currentUnderlying.
OriginalDefinition
.GetMembers()
817
Debug.Assert(oldUnderlying.
OriginalDefinition
Is currentUnderlying.
OriginalDefinition
)
829
Dim container As NamedTypeSymbol = GetNestedTupleUnderlyingType(_underlyingType, fieldChainLength - 1).
OriginalDefinition
874
underlying = underlying.
OriginalDefinition
884
Dim originalDefinition As NamedTypeSymbol = Me._underlyingType.
OriginalDefinition
931
If originalDefinition.ContainingType Is Me._underlyingType.
OriginalDefinition
Then
Symbols\TypeSymbol.vb (4)
101
result.
OriginalDefinition
.AddUseSiteInfo(useSiteInfo)
111
result = result.
OriginalDefinition
151
iface.
OriginalDefinition
.AddUseSiteInfo(useSiteInfo)
450
result.
OriginalDefinition
.AddUseSiteInfo(useSiteInfo)
Symbols\TypeSymbolExtensions.vb (1)
1064
If namedType.Arity = 1 AndAlso TypeSymbol.Equals(namedType.
OriginalDefinition
, compilation.GetWellKnownType(WellKnownType.System_Linq_Expressions_Expression_T), TypeCompareKind.ConsiderEverything) Then
Symbols\UnboundGenericType.vb (1)
41
Return New UnboundGenericType.ConstructedSymbol(type.
OriginalDefinition
)