1 instantiation of PointerType
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (1)
145pPointer = new PointerType(baseType);
21 references to PointerType
Microsoft.CSharp (21)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
530ErrAppendType(((PointerType)pType).ReferentType, null);
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (5)
671bool fDstHasNull = fLiftDst || typeDst.IsReferenceType || typeDst is PointerType; 796(!fIntPtrStandard || typeSrc is PointerType || typeFrom is PointerType || !canCast(typeSrc, typeFrom, CONVERTTYPE.NOUDC)))) 805(!fIntPtrStandard || typeDst is PointerType || typeTo is PointerType || !canCast(typeTo, typeDst, CONVERTTYPE.NOUDC))))
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
385if (_typeSrc is PointerType || _typeSrc.FundamentalType <= FUNDTYPE.FT_LASTINTEGRAL && _typeSrc.IsNumericType) 726if (!(_typeSrc is PointerType) || aggTypeDest.FundamentalType > FUNDTYPE.FT_LASTINTEGRAL || !aggTypeDest.IsNumericType)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
524if (_typeDest is PointerType ptDest && ptDest.ReferentType == VoidType.Instance)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
1371Debug.Assert(!(pArgumentType is PointerType));
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (1)
168Debug.Assert(!(arg is PointerType));
Microsoft\CSharp\RuntimeBinder\Semantics\Types\ArrayType.cs (1)
47public override bool IsUnsafe() => BaseElementType is PointerType;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (4)
139public static PointerType GetPointer(CType baseType) 141PointerType pPointer = TypeTable.LookupPointer(baseType); 291typeDst = SubstTypeCore(typeSrc = ((PointerType)type).ReferentType, pctx); 623Debug.Assert(!(typeSrc is PointerType));
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeTable.cs (5)
61private static readonly Dictionary<CType, PointerType> s_pointerTable = new Dictionary<CType, PointerType>(); 110public static PointerType LookupPointer(CType elementType) 112s_pointerTable.TryGetValue(elementType, out PointerType result); 116public static void InsertPointer(CType elementType, PointerType pointer)