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