5 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
4154return CreatePointerTypeSymbol(elementType.EnsureCSharpSymbolOrNull(nameof(elementType)), elementType.NullableAnnotation.ToInternalAnnotation()).GetPublicSymbol();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\UnsafeTests.cs (4)
7861Assert.Equal(structPointerType.GetPublicSymbol(), ((ILocalSymbol)receiverSymbol).Type); 8172Assert.Equal(intPointerType.GetPublicSymbol(), ((ILocalSymbol)receiverSymbol).Type); 8239Assert.Equal(intPointerType.GetPublicSymbol(), ((IFieldSymbol)receiverSymbol).Type); 8297Assert.Equal(intPointerType.GetPublicSymbol(), ((IFieldSymbol)receiverSymbol).Type);