5 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
4084return CreatePointerTypeSymbol(elementType.EnsureCSharpSymbolOrNull(nameof(elementType)), elementType.NullableAnnotation.ToInternalAnnotation()).GetPublicSymbol();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\UnsafeTests.cs (4)
7860Assert.Equal(structPointerType.GetPublicSymbol(), ((ILocalSymbol)receiverSymbol).Type); 8171Assert.Equal(intPointerType.GetPublicSymbol(), ((ILocalSymbol)receiverSymbol).Type); 8238Assert.Equal(intPointerType.GetPublicSymbol(), ((IFieldSymbol)receiverSymbol).Type); 8296Assert.Equal(intPointerType.GetPublicSymbol(), ((IFieldSymbol)receiverSymbol).Type);