1 implementation of IPointerTypeSymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PointerTypeSymbol.cs (1)
11internal sealed class PointerTypeSymbol : TypeSymbol, IPointerTypeSymbol
168 references to IPointerTypeSymbol
ILLink.RoslynAnalyzer (1)
COMAnalyzer.cs (1)
87 if (typeSymbol is IPointerTypeSymbol)
Microsoft.CodeAnalysis (7)
Compilation\Compilation.cs (3)
1106public IPointerTypeSymbol CreatePointerTypeSymbol(ITypeSymbol pointedAtType) 1111protected abstract IPointerTypeSymbol CommonCreatePointerTypeSymbol(ITypeSymbol elementType); 1713s = ((IPointerTypeSymbol)s).PointedAtType;
DocumentationCommentId.cs (1)
643public override bool VisitPointerType(IPointerTypeSymbol symbol)
Symbols\SymbolVisitor.cs (1)
88public virtual void VisitPointerType(IPointerTypeSymbol symbol)
Symbols\SymbolVisitor`1.cs (1)
91public virtual TResult? VisitPointerType(IPointerTypeSymbol symbol)
Symbols\SymbolVisitor`2.cs (1)
96public virtual TResult VisitPointerType(IPointerTypeSymbol symbol, TArgument argument)
Microsoft.CodeAnalysis.CodeStyle (32)
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer.cs (1)
156if (whenPartType is IPointerTypeSymbol)
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer_IfStatement.cs (1)
86if (whenPartType is IPointerTypeSymbol or IFunctionPointerTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
64public override bool VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (2)
102return IsSymbolAccessibleCore(((IPointerTypeSymbol)symbol).PointedAtType, within, null, out failedThroughTypeCheck); 161if (symbol.ContainingSymbol is IPointerTypeSymbol pointerType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.AnonymousTypeRemover.cs (1)
53public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.CollectTypeParameterSymbolsVisitor.cs (1)
63public override void VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (7)
318IPointerTypeSymbol p => ContainsAnonymousType(p.PointedAtType), 347case IPointerTypeSymbol pointerType: 568if (t1 is IPointerTypeSymbol) 570var p1 = (IPointerTypeSymbol)t1; 571var p2 = (IPointerTypeSymbol)t2;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.MinimalAccessibilityVisitor.cs (1)
65public override Accessibility VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (1)
112public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.UnavailableTypeParameterRemover.cs (1)
51public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.UnnamedErrorTypeRemover.cs (1)
55public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (2)
56/// <item>Two <see cref="IPointerTypeSymbol"/>s are the "same" if they have 57/// the "same" <see cref="IPointerTypeSymbol.PointedAtType"/>.</item>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PointerTypeSymbolKey.cs (4)
9private sealed class PointerTypeSymbolKey : AbstractSymbolKey<IPointerTypeSymbol> 13public sealed override void Create(IPointerTypeSymbol symbol, SymbolKeyWriter visitor) 17SymbolKeyReader reader, IPointerTypeSymbol? contextualSymbol, out string? failureReason) 33using var result = PooledArrayBuilder<IPointerTypeSymbol>.GetInstance(pointedAtTypeResolution.SymbolCount);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
455public override void VisitPointerType(IPointerTypeSymbol pointerTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (4)
129SymbolKind.PointerType => PointerTypesAreEquivalent((IPointerTypeSymbol)x, (IPointerTypeSymbol)y, equivalentTypesWithDifferingAssemblies), 574private bool PointerTypesAreEquivalent(IPointerTypeSymbol x, IPointerTypeSymbol y, Dictionary<INamedTypeSymbol, INamedTypeSymbol>? equivalentTypesWithDifferingAssemblies)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (3)
70SymbolKind.PointerType => CombineHashCodes((IPointerTypeSymbol)x, currentHash), 232private int CombineHashCodes(IPointerTypeSymbol x, int currentHash) 235Hash.Combine(typeof(IPointerTypeSymbol).GetHashCode(),
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberService.cs (1)
128if (typeInfo.Type is IPointerTypeSymbol pointerType)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
56public override ValueTask VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
352public static IPointerTypeSymbol CreatePointerTypeSymbol(ITypeSymbol pointedAtType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPointerTypeSymbol.cs (1)
9internal sealed class CodeGenerationPointerTypeSymbol(ITypeSymbol pointedAtType) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, NullableAnnotation.None), IPointerTypeSymbol
Microsoft.CodeAnalysis.CSharp (6)
Compilation\CSharpCompilation.cs (1)
4034protected override IPointerTypeSymbol CommonCreatePointerTypeSymbol(ITypeSymbol elementType)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
138public override void VisitPointerType(IPointerTypeSymbol symbol)
Symbols\PublicModel\PointerTypeSymbol.cs (2)
34ITypeSymbol IPointerTypeSymbol.PointedAtType 47ImmutableArray<CustomModifier> IPointerTypeSymbol.CustomModifiers
Symbols\SymbolExtensions.cs (2)
671internal static IPointerTypeSymbol? GetPublicSymbol(this PointerTypeSymbol? symbol) 673return symbol.GetPublicSymbol<IPointerTypeSymbol>();
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundCoalesceAssignmentDiagnosticAnalyzer.cs (1)
164if (semanticModel.GetTypeInfo(testedExpression, cancellationToken).Type is IPointerTypeSymbol or IFunctionPointerTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.State.cs (1)
121if (type is IPointerTypeSymbol pointerType)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
94_ => type == null || type.IsReferenceType || type is IPointerTypeSymbol || type.IsNullable()
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
351public override TypeSyntax VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (3)
701DetermineTypeParameterMapping(((IPointerTypeSymbol)inferredType).PointedAtType, ((IPointerTypeSymbol)returnType).PointedAtType, result); 1944if (inferredType.InferredType is IPointerTypeSymbol pointerType)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenTupleTest.cs (3)
14442var m5TuplePointer = (IPointerTypeSymbol)test.GetMember<IMethodSymbol>("M5").ReturnType; 14449m5TuplePointer = (IPointerTypeSymbol)((IMethodSymbol)symbolInfo.Symbol).ReturnType;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\SymbolMatcherTests.cs (1)
409var member = compilation1.CreatePointerTypeSymbol(elementType);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundCoalesceAssignmentDiagnosticAnalyzer.cs (1)
164if (semanticModel.GetTypeInfo(testedExpression, cancellationToken).Type is IPointerTypeSymbol or IFunctionPointerTypeSymbol)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (37)
Semantics\FunctionPointerTests.cs (1)
211Assert.True(typeInfo.ConvertedType is IPointerTypeSymbol { PointedAtType: { SpecialType: SpecialType.System_Void } });
Semantics\RefLocalsAndReturnsTests.cs (2)
4783Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)model.GetTypeInfo(left).Type).PointedAtType.SpecialType); 4811Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)model.GetTypeInfo(left).Type).PointedAtType.SpecialType);
Semantics\StackAllocInitializerTests.cs (13)
1054Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj1Value.Type).PointedAtType.SpecialType); 1062Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj2Value.Type).PointedAtType.SpecialType); 1063Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj2Value.ConvertedType).PointedAtType.SpecialType); 1078Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj4Value.Type).PointedAtType.SpecialType); 1079Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj4Value.ConvertedType).PointedAtType.SpecialType); 1086Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj5Value.Type).PointedAtType.SpecialType); 1087Assert.Equal(SpecialType.System_Double, ((IPointerTypeSymbol)obj5Value.ConvertedType).PointedAtType.SpecialType); 1165Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj2Value.Type).PointedAtType.SpecialType); 1166Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj2Value.ConvertedType).PointedAtType.SpecialType); 1181Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj4Value.Type).PointedAtType.SpecialType); 1182Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj4Value.ConvertedType).PointedAtType.SpecialType); 1189Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj5Value.Type).PointedAtType.SpecialType); 1190Assert.Equal(SpecialType.System_Double, ((IPointerTypeSymbol)obj5Value.ConvertedType).PointedAtType.SpecialType);
Semantics\StackAllocSpanExpressionsTests.cs (13)
60Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj1Value.Type).PointedAtType.SpecialType); 68Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj2Value.Type).PointedAtType.SpecialType); 69Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj2Value.ConvertedType).PointedAtType.SpecialType); 84Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj4Value.Type).PointedAtType.SpecialType); 85Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj4Value.ConvertedType).PointedAtType.SpecialType); 92Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj5Value.Type).PointedAtType.SpecialType); 93Assert.Equal(SpecialType.System_Double, ((IPointerTypeSymbol)obj5Value.ConvertedType).PointedAtType.SpecialType); 143Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj2Value.Type).PointedAtType.SpecialType); 144Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj2Value.ConvertedType).PointedAtType.SpecialType); 159Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj4Value.Type).PointedAtType.SpecialType); 160Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj4Value.ConvertedType).PointedAtType.SpecialType); 167Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)obj5Value.Type).PointedAtType.SpecialType); 168Assert.Equal(SpecialType.System_Double, ((IPointerTypeSymbol)obj5Value.ConvertedType).PointedAtType.SpecialType);
Semantics\UnsafeTests.cs (8)
7272Assert.Equal(SpecialType.System_Int32, ((IPointerTypeSymbol)type).PointedAtType.SpecialType); 7341Assert.Equal(TypeKind.Error, ((IPointerTypeSymbol)typeInfo.Type).PointedAtType.TypeKind); 7379Assert.Equal(TypeKind.Error, ((IPointerTypeSymbol)typeInfo.Type).PointedAtType.TypeKind); 8388Assert.NotEqual(SpecialType.System_Void, ((IPointerTypeSymbol)type).PointedAtType.SpecialType); 8392Assert.Equal(SpecialType.System_Void, ((IPointerTypeSymbol)convertedType).PointedAtType.SpecialType); 10187Assert.Equal(SpecialType.System_Char, ((IPointerTypeSymbol)type).PointedAtType.SpecialType); 11311Assert.Equal(SpecialType.System_Char, ((IPointerTypeSymbol)stackAllocSummary.Type).PointedAtType.SpecialType); 11312Assert.Equal(SpecialType.System_Void, ((IPointerTypeSymbol)stackAllocSummary.ConvertedType).PointedAtType.SpecialType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\SymbolVisitorTests.cs (3)
151public override void VisitPointerType(IPointerTypeSymbol symbol) 334public override string VisitPointerType(IPointerTypeSymbol symbol) 486public override int VisitPointerType(IPointerTypeSymbol symbol, StringBuilder argument)
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3232type is IPointerTypeSymbol ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.State.cs (1)
121if (type is IPointerTypeSymbol pointerType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
94_ => type == null || type.IsReferenceType || type is IPointerTypeSymbol || type.IsNullable()
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
351public override TypeSyntax VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (3)
701DetermineTypeParameterMapping(((IPointerTypeSymbol)inferredType).PointedAtType, ((IPointerTypeSymbol)returnType).PointedAtType, result); 1944if (inferredType.InferredType is IPointerTypeSymbol pointerType)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
AbstractTypeParameterChecker.cs (1)
54public sealed override void VisitPointerType(IPointerTypeSymbol symbol)
Microsoft.CodeAnalysis.Features (10)
ExtractMethod\MethodExtractor.TypeParameterCollector.cs (1)
46public override void VisitPointerType(IPointerTypeSymbol pointerTypeSymbol)
LanguageServices\AnonymousTypeDisplayService\AbstractStructuralTypeDisplayService.StructuralTypeCollectorVisitor.cs (1)
116public override void VisitPointerType(IPointerTypeSymbol symbol)
QuickInfo\CommonSemanticQuickInfoProvider.ErrorVisitor.cs (1)
78public override bool VisitPointerType(IPointerTypeSymbol symbol)
RQName\RQNodeBuilder.cs (1)
269else if (symbol is IPointerTypeSymbol pointerType)
Shared\Extensions\ISymbolExtensions_2.cs (1)
129return ((IPointerTypeSymbol)symbol).PointedAtType.GetGlyph();
Shared\Extensions\ISymbolExtensions_Sorting.cs (1)
47IPointerTypeSymbol pointerType => GetNamedType(pointerType.PointedAtType),
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer.cs (1)
156if (whenPartType is IPointerTypeSymbol)
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer_IfStatement.cs (1)
86if (whenPartType is IPointerTypeSymbol or IFunctionPointerTypeSymbol)
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberService.cs (1)
128if (typeInfo.Type is IPointerTypeSymbol pointerType)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
56public override ValueTask VisitPointerType(IPointerTypeSymbol symbol)
Microsoft.CodeAnalysis.VisualBasic (2)
Compilation\VisualBasicCompilation.vb (1)
2896Protected Overrides Function CommonCreatePointerTypeSymbol(elementType As ITypeSymbol) As IPointerTypeSymbol
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
76Public Overrides Sub VisitPointerType(symbol As IPointerTypeSymbol)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
197Public Overrides Function VisitPointerType(symbol As IPointerTypeSymbol) As TypeSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
197Public Overrides Function VisitPointerType(symbol As IPointerTypeSymbol) As TypeSyntax
Microsoft.CodeAnalysis.Workspaces (34)
FindSymbols\FindReferences\Finders\ExplicitConversionSymbolReferenceFinder.UnderlyingNamedTypeVisitor.cs (1)
28public override INamedTypeSymbol? VisitPointerType(IPointerTypeSymbol symbol)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
370if (isForDereference && container is IPointerTypeSymbol pointerType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
64public override bool VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (2)
102return IsSymbolAccessibleCore(((IPointerTypeSymbol)symbol).PointedAtType, within, null, out failedThroughTypeCheck); 161if (symbol.ContainingSymbol is IPointerTypeSymbol pointerType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.AnonymousTypeRemover.cs (1)
53public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.CollectTypeParameterSymbolsVisitor.cs (1)
63public override void VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (7)
318IPointerTypeSymbol p => ContainsAnonymousType(p.PointedAtType), 347case IPointerTypeSymbol pointerType: 568if (t1 is IPointerTypeSymbol) 570var p1 = (IPointerTypeSymbol)t1; 571var p2 = (IPointerTypeSymbol)t2;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.MinimalAccessibilityVisitor.cs (1)
65public override Accessibility VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (1)
112public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.UnavailableTypeParameterRemover.cs (1)
51public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.UnnamedErrorTypeRemover.cs (1)
55public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (2)
56/// <item>Two <see cref="IPointerTypeSymbol"/>s are the "same" if they have 57/// the "same" <see cref="IPointerTypeSymbol.PointedAtType"/>.</item>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PointerTypeSymbolKey.cs (4)
9private sealed class PointerTypeSymbolKey : AbstractSymbolKey<IPointerTypeSymbol> 13public sealed override void Create(IPointerTypeSymbol symbol, SymbolKeyWriter visitor) 17SymbolKeyReader reader, IPointerTypeSymbol? contextualSymbol, out string? failureReason) 33using var result = PooledArrayBuilder<IPointerTypeSymbol>.GetInstance(pointedAtTypeResolution.SymbolCount);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
455public override void VisitPointerType(IPointerTypeSymbol pointerTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (4)
129SymbolKind.PointerType => PointerTypesAreEquivalent((IPointerTypeSymbol)x, (IPointerTypeSymbol)y, equivalentTypesWithDifferingAssemblies), 574private bool PointerTypesAreEquivalent(IPointerTypeSymbol x, IPointerTypeSymbol y, Dictionary<INamedTypeSymbol, INamedTypeSymbol>? equivalentTypesWithDifferingAssemblies)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (3)
70SymbolKind.PointerType => CombineHashCodes((IPointerTypeSymbol)x, currentHash), 232private int CombineHashCodes(IPointerTypeSymbol x, int currentHash) 235Hash.Combine(typeof(IPointerTypeSymbol).GetHashCode(),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
352public static IPointerTypeSymbol CreatePointerTypeSymbol(ITypeSymbol pointedAtType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPointerTypeSymbol.cs (1)
9internal sealed class CodeGenerationPointerTypeSymbol(ITypeSymbol pointedAtType) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, NullableAnnotation.None), IPointerTypeSymbol
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSManagedTypeInfo.cs (1)
65case IPointerTypeSymbol { PointedAtType.SpecialType: SpecialType.System_Void }:
Microsoft.Interop.SourceGeneration (2)
ArrayMarshallingInfoProvider.cs (1)
49if (elementType is IPointerTypeSymbol { PointedAtType: ITypeSymbol pointedAt })
ManualTypeMarshallingHelper.cs (1)
371else if (innerType is IPointerTypeSymbol pointerType)
Microsoft.VisualStudio.LanguageServices (5)
Library\VsNavInfo\NavInfoFactory.cs (1)
83typeSymbol = ((IPointerTypeSymbol)typeSymbol).PointedAtType;
Progression\GraphNodeIdCreation.cs (4)
131else if (symbol is IPointerTypeSymbol pointerType) 212private static async Task<GraphNodeId> GetPartialForPointerTypeAsync(IPointerTypeSymbol pointerType, GraphNodeIdName nodeName, Solution solution, CancellationToken cancellationToken) 219pointerType = (IPointerTypeSymbol)pointerType.PointedAtType; 282symbol = ((IPointerTypeSymbol)symbol).PointedAtType;
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
GlyphExtensionsTests.cs (1)
245var pointerTypeMock = symbolMock.As<IPointerTypeSymbol>();
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
762typeSymbol = DirectCast(typeSymbol, IPointerTypeSymbol).PointedAtType