28 references to OriginalDefinition
Microsoft.CodeAnalysis.VisualBasic (28)
Binding\Binder_Expressions.vb (1)
1896Me.ContainingMember.ContainingSymbol.OriginalDefinition Is field.ContainingSymbol.OriginalDefinition)
Binding\Binder_Invocation.vb (1)
1441Dim candidate As Symbol = bestSymbols(0).OriginalDefinition
Binding\Binder_Symbols.vb (1)
719If typeWithBaseBeingResolved.Equals(currentSymbol.OriginalDefinition) Then
Binding\DocumentationCommentBinder.vb (3)
190originalDef2Symbol.Add(sym.OriginalDefinition, i) 208Dim method = DirectCast(sym.OriginalDefinition, MethodSymbol) 225Dim prop = DirectCast(sym.OriginalDefinition, PropertySymbol)
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (2)
659Dim id As String = symbol.OriginalDefinition.GetDocumentationCommentId() 684_diagnostics.AddAssembliesUsedByCrefTarget(smallestSymbol.OriginalDefinition)
Compilation\DocumentationComments\DocumentationCommentWalker.vb (2)
194Dim candidateId As String = symbol.OriginalDefinition.GetDocumentationCommentId() 211_diagnostics.AddAssembliesUsedByCrefTarget(smallestSymbol.OriginalDefinition)
Emit\NoPia\EmbeddedTypesManager.vb (2)
280typeManagerOpt._reportedSymbolsMap.TryAdd(symbol.OriginalDefinition, True) Then 282ReportDiagnostic(diagnostics, id, syntaxNodeOpt, symbol.OriginalDefinition)
Emit\SymbolAdapter.vb (1)
72Return Me.IsDefinition OrElse Not Me.Equals(Me.OriginalDefinition)
Emit\SymbolTranslator.vb (1)
47manager.MarkSymbolAsReferenced(symbol.OriginalDefinition, _addedEmbeddedSymbols)
Semantics\OverloadResolution.vb (2)
3582Dim firstSymbol As Symbol = info.Candidate.UnderlyingSymbol.OriginalDefinition 3597Dim secondSymbol As Symbol = info2.Candidate.UnderlyingSymbol.OriginalDefinition
Symbols\ConstraintsHelper.vb (1)
653(typeParameter.ContainingSymbol Is constructedSymbol.OriginalDefinition))
Symbols\FieldSymbol.vb (1)
396Debug.Assert(newOwner.OriginalDefinition Is Me.ContainingSymbol.OriginalDefinition)
Symbols\OverriddenMembersResult.vb (1)
99Return DirectCast(overriddenByDefinitionMember.OriginalDefinition.AsMember(baseType), TSymbol)
Symbols\Source\ImplementsHelper.vb (1)
680substitutedImplementations(i) = DirectCast(substitutedInterfaceType.GetMemberForDefinition(unsubstitutedMember.OriginalDefinition), TSymbol)
Symbols\Source\OverrideHidingHelper.vb (2)
745Dim accessible = AccessCheck.IsSymbolAccessible(sym.OriginalDefinition, overridingContainingType.OriginalDefinition, Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) 860diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverriddenCandidate1, overriddenMemb.OriginalDefinition))
Symbols\Symbol.vb (2)
314Return OriginalDefinition Is Me 1315Return Me.OriginalDefinition
Symbols\Tuples\TupleTypeSymbol.vb (1)
930Dim originalDefinition As Symbol = underlyingMemberOpt.OriginalDefinition
Symbols\TypeSymbol.vb (3)
761Return x.OriginalDefinition = y.OriginalDefinition AndAlso 766Return obj.OriginalDefinition.GetHashCode()