23 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (23)
Compilation\CSharpCompilation.cs (1)
3976return this.GetAssemblyOrModuleSymbol(reference).GetPublicSymbol();
Compilation\CSharpSemanticModel.cs (7)
1698results.Add(RemapSymbolIfNecessary(uniqueSymbol).GetPublicSymbol()); 1756results.Add(RemapSymbolIfNecessary(singleSymbol).GetPublicSymbol()); 1762results.Add(RemapSymbolIfNecessary(symbol).GetPublicSymbol()); 1770results.Add(RemapSymbolIfNecessary(symbol).GetPublicSymbol()); 1984return new SymbolInfo(subpatternSymbol.GetPublicSymbol()); 2343return new SymbolInfo(symbolToReturn.GetPublicSymbol()); 4911return binder == null ? null : binder.ContainingMemberOrLambda.GetPublicSymbol();
Compilation\MemberSemanticModel.cs (1)
930getAwaiter: (IMethodSymbol)awaitableInfo.GetAwaiter?.ExpressionSymbol.GetPublicSymbol(),
Compilation\SyntaxTreeSemanticModel.cs (2)
1521return GetDeclaredMemberSymbol(declarationSyntax).GetPublicSymbol(); 1846return 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)
113? UnderlyingTypeSymbol.FindImplementationForInterfaceMember(symbol.UnderlyingSymbol).GetPublicSymbol()