15 references to IsPointerType
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (1)
9914
Debug.Assert(expr.Type.
IsPointerType
());
Binder\Binder_Patterns.cs (2)
573
else if (inputType.
IsPointerType
())
1325
|| (inputType.
IsPointerType
() && Compilation.LanguageVersion < MessageID.IDS_FeatureRecursivePatterns.RequiredVersion()))
Binder\Binder_Statements.cs (2)
1085
if (!declTypeOpt.Type.
IsPointerType
())
1225
Debug.Assert(declType.
IsPointerType
());
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
613
ExactOrBoundsKind kind = GetRefKind(arg).IsManagedReference() || target.Type.
IsPointerType
() ? ExactOrBoundsKind.Exact : ExactOrBoundsKind.LowerBound;
CodeGen\EmitAddress.cs (1)
102
Debug.Assert(operand.Type.
IsPointerType
());
CodeGen\EmitStatement.cs (1)
1797
Debug.Assert(local.TypeWithAnnotations.Type.
IsPointerType
());
Compilation\CSharpCompilation.cs (5)
4421
csharpLeftType.
IsPointerType
() &&
4430
csharpRightType.
IsPointerType
() &&
4439
csharpLeftType.
IsPointerType
() &&
4448
csharpLeftType.
IsPointerType
() &&
4539
if (csharpOperandType.
IsPointerType
() &&
Compilation\MemberSemanticModel.cs (1)
964
if (enumeratorInfoOpt.CurrentConversion is null && enumeratorInfoOpt.ElementType.
IsPointerType
())
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
45
if (type.
IsPointerType
())