5 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
3722return CreatePointerTypeSymbol(elementType.EnsureCSharpSymbolOrNull(nameof(elementType)), elementType.NullableAnnotation.ToInternalAnnotation()).GetPublicSymbol();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\UnsafeTests.cs (4)
5022Assert.Equal(structPointerType.GetPublicSymbol(), ((ILocalSymbol)receiverSymbol).Type); 5333Assert.Equal(intPointerType.GetPublicSymbol(), ((ILocalSymbol)receiverSymbol).Type); 5400Assert.Equal(intPointerType.GetPublicSymbol(), ((IFieldSymbol)receiverSymbol).Type); 5458Assert.Equal(intPointerType.GetPublicSymbol(), ((IFieldSymbol)receiverSymbol).Type);