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