65 references to Pointer
Microsoft.CodeAnalysis (1)
MetadataReader\MetadataDecoder.cs (1)
1022value = (type.IsReferenceType || type.TypeKind == TypeKind.Pointer || type.TypeKind == TypeKind.FunctionPointer) ? ConstantValue.Null : ConstantValue.Bad;
Microsoft.CodeAnalysis.CodeStyle (3)
EditorConfigNamingStyleParser_SymbolSpec.cs (1)
403case TypeKind.Pointer:
SemanticModelExtensions.cs (1)
174type.TypeKind == TypeKind.Pointer)
SymbolSpecification.cs (1)
81new SymbolKindOrTypeKind(TypeKind.Pointer),
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
CodeGenerationPointerTypeSymbol.cs (1)
25public override TypeKind TypeKind => TypeKind.Pointer;
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder_Constraints.cs (1)
576case TypeKind.Pointer:
Binder\Binder_Conversions.cs (1)
395case TypeKind.Pointer:
Binder\Binder_Crefs.cs (1)
558case TypeKind.Pointer:
Binder\Binder_Expressions.cs (2)
4461case TypeKind.Pointer: 7952case TypeKind.Pointer:
Binder\Binder_Lookup.cs (1)
206case TypeKind.Pointer:
Binder\Binder_Operators.cs (1)
3676else if (targetTypeKind == TypeKind.Pointer || targetTypeKind == TypeKind.FunctionPointer)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1711if (source.TypeKind == TypeKind.Pointer && target.TypeKind == TypeKind.Pointer)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2307if (t1.TypeKind == TypeKind.Pointer)
CodeGen\EmitStackAllocInitializer.cs (1)
23var elementType = (type.TypeKind == TypeKind.Pointer
Compiler\ClsComplianceChecker.cs (1)
985case TypeKind.Pointer:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
2180Debug.Assert(loweredLeft.Type is { TypeKind: TypeKind.Pointer }); 2185Debug.Assert(loweredRight.Type is { TypeKind: TypeKind.Pointer }); 2372Debug.Assert(loweredLeft.Type is { TypeKind: TypeKind.Pointer }); 2373Debug.Assert(loweredRight.Type is { TypeKind: TypeKind.Pointer });
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
241Debug.Assert(initializerExpr.Type is { TypeKind: TypeKind.Pointer });
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
755Debug.Assert(binaryOperand.Type is { TypeKind: TypeKind.Pointer });
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
221if (typeArg.TypeKind != TypeKind.Pointer)
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
20else if (type.IsReferenceType || type.TypeKind == TypeKind.Pointer || ITypeSymbolHelpers.IsNullableType(type))
Symbols\Compilation_WellKnownMembers.cs (1)
927case TypeKind.Pointer:
Symbols\ConstraintsHelper.cs (1)
250case TypeKind.Pointer:
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
89case TypeKind.Pointer:
Symbols\PointerTypeSymbol.cs (2)
169return TypeKind.Pointer; 219while (current.TypeKind == TypeKind.Pointer)
Symbols\TypeSymbol.cs (1)
507TypeKind.Pointer => Microsoft.Cci.PrimitiveTypeCode.Pointer,
Symbols\TypeSymbolExtensions.cs (6)
296case TypeKind.Pointer: 366case TypeKind.Pointer: 837case TypeKind.Pointer: 1194type.VisitType((TypeSymbol t, object? _, bool _) => t.TypeKind is TypeKind.Pointer or TypeKind.FunctionPointer, null) is object; 1406case TypeKind.Pointer: 1443case TypeKind.Pointer:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
235if (innerType.TypeKind != TypeKind.Pointer)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
ManagedAddressOfTests.cs (1)
307Assert.Equal(TypeKind.Pointer, returnType.TypeKind);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\UnsafeTests.cs (8)
4433Assert.Equal(TypeKind.Pointer, type.TypeKind); 4502Assert.Equal(TypeKind.Pointer, typeInfo.Type.TypeKind); 4540Assert.Equal(TypeKind.Pointer, typeInfo.Type.TypeKind); 5513Assert.Equal(TypeKind.Pointer, typeInfo.ConvertedType.TypeKind); 5549Assert.Equal(TypeKind.Pointer, type.TypeKind); 5553Assert.Equal(TypeKind.Pointer, convertedType.TypeKind); 6021Assert.Equal(TypeKind.Pointer, pointerType.TypeKind); 7348Assert.Equal(TypeKind.Pointer, type.TypeKind);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\SemanticModelAPITests.cs (2)
2277Assert.Equal(TypeKind.Pointer, typeInfo.Type.TypeKind); 2279Assert.Equal(TypeKind.Pointer, typeInfo.ConvertedType.TypeKind);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
UsesIsNullableVisitor.cs (1)
194case TypeKind.Pointer:
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
235if (innerType.TypeKind != TypeKind.Pointer)
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\AbstractObjectCreationCompletionProvider.cs (1)
86type.TypeKind == TypeKind.Pointer ||
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\EmptyArrayAnalyzer.cs (1)
76&& elementType?.TypeKind != TypeKind.Pointer)
Microsoft.CodeAnalysis.Workspaces (4)
CodeGenerationPointerTypeSymbol.cs (1)
25public override TypeKind TypeKind => TypeKind.Pointer;
EditorConfigNamingStyleParser_SymbolSpec.cs (1)
403case TypeKind.Pointer:
SemanticModelExtensions.cs (1)
174type.TypeKind == TypeKind.Pointer)
SymbolSpecification.cs (1)
81new SymbolKindOrTypeKind(TypeKind.Pointer),
Microsoft.VisualStudio.LanguageServices (3)
Library\VsNavInfo\NavInfoFactory.cs (1)
82else if (typeSymbol.TypeKind == TypeKind.Pointer)
Progression\GraphNodeIdCreation.cs (2)
216while (pointerType.PointedAtType.TypeKind == TypeKind.Pointer) 279while (symbol.TypeKind == TypeKind.Pointer)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
702else if (typeSymbol.TypeKind == TypeKind.Pointer)
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\AbstractCodeModelService.cs (1)
259if (typeSymbol.TypeKind is TypeKind.Pointer or
CodeModel\CodeTypeRef.cs (1)
97else if (typeSymbol.TypeKind == Microsoft.CodeAnalysis.TypeKind.Pointer)
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\VisualBasicCodeModelService.vb (2)
761If typeSymbol.TypeKind = TypeKind.Pointer Then 805If typeSymbol.TypeKind = TypeKind.Pointer Then