15 references to IsPointerType
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (1)
10186Debug.Assert(expr.Type.IsPointerType());
Binder\Binder_Patterns.cs (2)
1070else if (inputType.IsPointerType()) 1942|| (inputType.IsPointerType() && Compilation.LanguageVersion < MessageID.IDS_FeatureRecursivePatterns.RequiredVersion()))
Binder\Binder_Statements.cs (2)
1090if (!declTypeOpt.Type.IsPointerType()) 1230Debug.Assert(declType.IsPointerType());
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
615ExactOrBoundsKind kind = GetRefKind(arg).IsManagedReference() || target.Type.IsPointerType() ? ExactOrBoundsKind.Exact : ExactOrBoundsKind.LowerBound;
CodeGen\EmitAddress.cs (1)
102Debug.Assert(operand.Type.IsPointerType());
CodeGen\EmitStatement.cs (1)
1824Debug.Assert(local.TypeWithAnnotations.Type.IsPointerType());
Compilation\CSharpCompilation.cs (5)
4609csharpLeftType.IsPointerType() && 4618csharpRightType.IsPointerType() && 4627csharpLeftType.IsPointerType() && 4636csharpLeftType.IsPointerType() && 4727if (csharpOperandType.IsPointerType() &&
Compilation\MemberSemanticModel.cs (1)
996if (enumeratorInfoOpt.CurrentConversion is null && enumeratorInfoOpt.ElementType.IsPointerType())
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
45if (type.IsPointerType())