70 references to Pointer
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
69type.TypeKind is TypeKind.TypeParameter or TypeKind.Pointer or TypeKind.Error ||
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)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
171type.TypeKind == TypeKind.Pointer)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (1)
398case TypeKind.Pointer:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
73new SymbolKindOrTypeKind(TypeKind.Pointer),
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPointerTypeSymbol.cs (1)
19public override TypeKind TypeKind => TypeKind.Pointer;
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder_Constraints.cs (1)
617case TypeKind.Pointer:
Binder\Binder_Crefs.cs (1)
558case TypeKind.Pointer:
Binder\Binder_Expressions.cs (2)
5172case TypeKind.Pointer: 9291case TypeKind.Pointer:
Binder\Binder_Lookup.cs (1)
206case TypeKind.Pointer:
Binder\Binder_Operators.cs (1)
3753else if (targetTypeKind == TypeKind.Pointer || targetTypeKind == TypeKind.FunctionPointer)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1860if (source.TypeKind == TypeKind.Pointer && target.TypeKind == TypeKind.Pointer)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2771if (t1.TypeKind == TypeKind.Pointer)
CodeGen\EmitStackAllocInitializer.cs (1)
27var elementType = (type.TypeKind == TypeKind.Pointer
Compiler\ClsComplianceChecker.cs (1)
992case TypeKind.Pointer:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
2260Debug.Assert(loweredLeft.Type is { TypeKind: TypeKind.Pointer }); 2265Debug.Assert(loweredRight.Type is { TypeKind: TypeKind.Pointer }); 2452Debug.Assert(loweredLeft.Type is { TypeKind: TypeKind.Pointer }); 2453Debug.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)
772Debug.Assert(binaryOperand.Type is { TypeKind: TypeKind.Pointer });
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
224if (typeArg.TypeKind != TypeKind.Pointer)
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
18else if (type.IsReferenceType || type.TypeKind == TypeKind.Pointer || ITypeSymbolHelpers.IsNullableType(type))
Symbols\Compilation_WellKnownMembers.cs (1)
955case TypeKind.Pointer:
Symbols\ConstraintsHelper.cs (1)
279case TypeKind.Pointer:
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
88case TypeKind.Pointer:
Symbols\PointerTypeSymbol.cs (2)
169return TypeKind.Pointer; 219while (current.TypeKind == TypeKind.Pointer)
Symbols\TypeSymbol.cs (1)
509TypeKind.Pointer => Microsoft.Cci.PrimitiveTypeCode.Pointer,
Symbols\TypeSymbolExtensions.cs (5)
317case TypeKind.Pointer: 407case TypeKind.Pointer: 925case TypeKind.Pointer: 1282type.VisitType((TypeSymbol t, object? _, bool _) => t.TypeKind is TypeKind.Pointer or TypeKind.FunctionPointer, null) is object; 1518case TypeKind.Pointer:
Utilities\TypeSymbolExtensions.cs (1)
197case TypeKind.Pointer:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
240if (innerType.TypeKind != TypeKind.Pointer)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\UnsafeTests.cs (8)
7271Assert.Equal(TypeKind.Pointer, type.TypeKind); 7340Assert.Equal(TypeKind.Pointer, typeInfo.Type.TypeKind); 7378Assert.Equal(TypeKind.Pointer, typeInfo.Type.TypeKind); 8351Assert.Equal(TypeKind.Pointer, typeInfo.ConvertedType.TypeKind); 8387Assert.Equal(TypeKind.Pointer, type.TypeKind); 8391Assert.Equal(TypeKind.Pointer, convertedType.TypeKind); 8859Assert.Equal(TypeKind.Pointer, pointerType.TypeKind); 10186Assert.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)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
240if (innerType.TypeKind != TypeKind.Pointer)
Microsoft.CodeAnalysis.Features (2)
Completion\Providers\AbstractObjectCreationCompletionProvider.cs (1)
85if (type.TypeKind is TypeKind.Interface or TypeKind.Pointer or TypeKind.Dynamic ||
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
164return type.TypeKind is not (TypeKind.Delegate or TypeKind.Struct or TypeKind.FunctionPointer or TypeKind.Pointer);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\EmptyArrayAnalyzer.cs (1)
76&& elementType?.TypeKind != TypeKind.Pointer)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1272Case TypeKind.Pointer, TypeKind.FunctionPointer
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
171type.TypeKind == TypeKind.Pointer)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (1)
398case TypeKind.Pointer:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
73new SymbolKindOrTypeKind(TypeKind.Pointer),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPointerTypeSymbol.cs (1)
19public override TypeKind TypeKind => TypeKind.Pointer;
Microsoft.Gen.ContextualOptions (1)
Parser.cs (1)
82.Where(prop => prop.Type.TypeKind != TypeKind.Pointer)
Microsoft.Interop.SourceGeneration (5)
BlittableTypeMarshallingInfoProvider.cs (1)
27if (type.TypeKind is TypeKind.Enum or TypeKind.Pointer or TypeKind.FunctionPointer
ManagedTypeInfo.cs (1)
52if (type.TypeKind == TypeKind.Pointer)
ManualTypeMarshallingHelper.cs (2)
364while (innerType.TypeKind is TypeKind.Array or TypeKind.Pointer) 388if (wrapperType.TypeKind == TypeKind.Pointer)
TypeSymbolExtensions.cs (1)
110if (type.TypeKind is TypeKind.Pointer or TypeKind.FunctionPointer)
Microsoft.VisualStudio.LanguageServices (3)
Library\VsNavInfo\NavInfoFactory.cs (1)
81else if (typeSymbol.TypeKind == TypeKind.Pointer)
Progression\GraphNodeIdCreation.cs (2)
216while (pointerType.PointedAtType.TypeKind == TypeKind.Pointer) 280while (symbol.TypeKind == TypeKind.Pointer)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
699else if (typeSymbol.TypeKind == TypeKind.Pointer)
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\VisualBasicCodeModelService.vb (2)
761If typeSymbol.TypeKind = TypeKind.Pointer Then 805If typeSymbol.TypeKind = TypeKind.Pointer Then