31 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (31)
Compilation\CSharpCompilation.cs (1)
4208return this.GetAssemblyOrModuleSymbol(reference).GetPublicSymbol();
Compilation\CSharpSemanticModel.cs (8)
1699results.Add(compatibleSubstitutedMember.GetPublicSymbol()); 1725results.Add(RemapSymbolIfNecessary(uniqueSymbol).GetPublicSymbol()); 1783results.Add(RemapSymbolIfNecessary(singleSymbol).GetPublicSymbol()); 1789results.Add(RemapSymbolIfNecessary(symbol).GetPublicSymbol()); 1797results.Add(RemapSymbolIfNecessary(symbol).GetPublicSymbol()); 2004return new SymbolInfo(subpatternSymbol.GetPublicSymbol()); 2354return new SymbolInfo(symbolToReturn.GetPublicSymbol()); 4970return binder == null ? null : binder.ContainingMemberOrLambda.GetPublicSymbol();
Compilation\MemberSemanticModel.cs (1)
961getAwaiter: (IMethodSymbol?)awaitableInfo.GetAwaiter?.ExpressionSymbol.GetPublicSymbol(),
Compilation\SymbolInfoFactory.cs (3)
29return new SymbolInfo(symbols[0].GetPublicSymbol(), CandidateReason.LateBound); 41return new SymbolInfo(symbols[0].GetPublicSymbol()); 57result.Add(symbol.GetPublicSymbol());
Compilation\SyntaxTreeSemanticModel.cs (3)
1489return (GetDeclaredNamespaceOrType(declarationSyntax) ?? GetDeclaredMemberSymbol(declarationSyntax)).GetPublicSymbol(); 1548return GetDeclaredMemberSymbol(declarationSyntax).GetPublicSymbol(); 1868return result.GetPublicSymbol();
Operations\CSharpOperationFactory.cs (7)
1715var indexerSymbol = Binder.GetIndexerOrImplicitIndexerSymbol(boundIndexerAccess).GetPublicSymbol(); 2604ISymbol? variable = boundDeclarationPattern.Variable.GetPublicSymbol(); 2607variable = ((BoundDiscardExpression)boundDeclarationPattern.VariableAccess).ExpressionSymbol.GetPublicSymbol(); 2633boundRecursivePattern.Variable.GetPublicSymbol(), 2675Binder.GetIndexerOrImplicitIndexerSymbol(boundNode.IndexerAccess).GetPublicSymbol(), 2688indexerSymbol: Binder.GetIndexerOrImplicitIndexerSymbol(boundNode.IndexerAccess).GetPublicSymbol(), 2690declaredSymbol: boundNode.Variable.GetPublicSymbol(),
Symbols\PublicModel\ErrorTypeSymbol.cs (1)
34ImmutableArray<ISymbol> IErrorTypeSymbol.CandidateSymbols => _underlying.CandidateSymbols.SelectAsArray(s => s.GetPublicSymbol());
Symbols\PublicModel\FieldSymbol.cs (1)
30return _underlying.AssociatedSymbol.GetPublicSymbol();
Symbols\PublicModel\MethodSymbol.cs (2)
217return (IMethodSymbol?)SourceNamedTypeSymbol.ReduceExtensionMember(compilation: null, _underlying, csharpReceiver, wasExtensionFullyInferred: out _).GetPublicSymbol(); 236return _underlying.AssociatedSymbol.GetPublicSymbol();
Symbols\PublicModel\PropertySymbol.cs (1)
124return (IPropertySymbol?)SourceNamedTypeSymbol.ReduceExtensionMember(compilation: null, _underlying, csharpReceiver, wasExtensionFullyInferred: out _).GetPublicSymbol();
Symbols\PublicModel\Symbol.cs (2)
59return UnderlyingSymbol.OriginalDefinition.GetPublicSymbol(); 67return UnderlyingSymbol.ContainingSymbol.GetPublicSymbol();
Symbols\PublicModel\TypeSymbol.cs (1)
125? UnderlyingTypeSymbol.FindImplementationForInterfaceMember(symbol.UnderlyingSymbol).GetPublicSymbol()