10 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (10)
Compilation\CSharpSemanticModel.cs (1)
5158return (GetSymbolInfo(tupleTypeSyntax, cancellationToken).Symbol.GetSymbol() as NamedTypeSymbol)?.TupleElements.ElementAtOrDefault(tupleTypeSyntax.Elements.IndexOf(declarationSyntax)).GetPublicSymbol();
Compilation\MemberSemanticModel.cs (1)
1133return elements[idx].GetPublicSymbol();
Compilation\SyntaxTreeSemanticModel.cs (2)
1494return ((FieldSymbol)GetDeclaredMemberSymbol(declarationSyntax)).GetPublicSymbol(); 1867return binder?.LookupDeclaredField(declarationSyntax).GetPublicSymbol();
Operations\CSharpOperationFactory.cs (4)
574IFieldSymbol field = boundFieldAccess.FieldSymbol.GetPublicSymbol(); 872return new FieldReferenceOperation(field.GetPublicSymbol(), isDeclaration, createReceiver(), _semanticModel, syntax, type, constantValue: null, isImplicit); 1726ImmutableArray<IFieldSymbol> initializedFields = ImmutableArray.Create<IFieldSymbol>(boundFieldEqualsValue.Field.GetPublicSymbol()); 2901reference = new FieldReferenceOperation(field.GetPublicSymbol(), isDeclaration: false,
Symbols\PublicModel\FieldSymbol.cs (2)
62return _underlying.OriginalDefinition.GetPublicSymbol(); 70return _underlying.CorrespondingTupleField.GetPublicSymbol();