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