24 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (24)
Compilation\CSharpCompilation.cs (1)
4020return this.GetAssemblyOrModuleSymbol(reference).GetPublicSymbol();
Compilation\CSharpSemanticModel.cs (8)
1681results.Add(compatibleSubstitutedMember.GetPublicSymbol()); 1707results.Add(RemapSymbolIfNecessary(uniqueSymbol).GetPublicSymbol()); 1765results.Add(RemapSymbolIfNecessary(singleSymbol).GetPublicSymbol()); 1771results.Add(RemapSymbolIfNecessary(symbol).GetPublicSymbol()); 1779results.Add(RemapSymbolIfNecessary(symbol).GetPublicSymbol()); 1993return new SymbolInfo(subpatternSymbol.GetPublicSymbol()); 2352return new SymbolInfo(symbolToReturn.GetPublicSymbol()); 4913return binder == null ? null : binder.ContainingMemberOrLambda.GetPublicSymbol();
Compilation\MemberSemanticModel.cs (1)
931getAwaiter: (IMethodSymbol)awaitableInfo.GetAwaiter?.ExpressionSymbol.GetPublicSymbol(),
Compilation\SyntaxTreeSemanticModel.cs (2)
1551return GetDeclaredMemberSymbol(declarationSyntax).GetPublicSymbol(); 1870return result.GetPublicSymbol();
Operations\CSharpOperationFactory.cs (7)
1649var indexerSymbol = Binder.GetIndexerOrImplicitIndexerSymbol(boundIndexerAccess).GetPublicSymbol(); 2538ISymbol? variable = boundDeclarationPattern.Variable.GetPublicSymbol(); 2541variable = ((BoundDiscardExpression)boundDeclarationPattern.VariableAccess).ExpressionSymbol.GetPublicSymbol(); 2567boundRecursivePattern.Variable.GetPublicSymbol(), 2609Binder.GetIndexerOrImplicitIndexerSymbol(boundNode.IndexerAccess).GetPublicSymbol(), 2622indexerSymbol: Binder.GetIndexerOrImplicitIndexerSymbol(boundNode.IndexerAccess).GetPublicSymbol(), 2624declaredSymbol: boundNode.Variable.GetPublicSymbol(),
Symbols\PublicModel\FieldSymbol.cs (1)
30return _underlying.AssociatedSymbol.GetPublicSymbol();
Symbols\PublicModel\MethodSymbol.cs (1)
222return _underlying.AssociatedSymbol.GetPublicSymbol();
Symbols\PublicModel\Symbol.cs (2)
59return UnderlyingSymbol.OriginalDefinition.GetPublicSymbol(); 67return UnderlyingSymbol.ContainingSymbol.GetPublicSymbol();
Symbols\PublicModel\TypeSymbol.cs (1)
118? UnderlyingTypeSymbol.FindImplementationForInterfaceMember(symbol.UnderlyingSymbol).GetPublicSymbol()