1 instantiation of PointerType
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (1)
141pPointer = new PointerType(baseType);
21 references to PointerType
Microsoft.CSharp (21)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
518ErrAppendType(((PointerType)pType).ReferentType, null);
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (5)
644bool fDstHasNull = fLiftDst || typeDst.IsReferenceType || typeDst is PointerType; 769(!fIntPtrStandard || typeSrc is PointerType || typeFrom is PointerType || !canCast(typeSrc, typeFrom, CONVERTTYPE.NOUDC)))) 778(!fIntPtrStandard || typeDst is PointerType || typeTo is PointerType || !canCast(typeTo, typeDst, CONVERTTYPE.NOUDC))))
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
384if (_typeSrc is PointerType || _typeSrc.FundamentalType <= FUNDTYPE.FT_LASTINTEGRAL && _typeSrc.IsNumericType) 724if (!(_typeSrc is PointerType) || aggTypeDest.FundamentalType > FUNDTYPE.FT_LASTINTEGRAL || !aggTypeDest.IsNumericType)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
522if (_typeDest is PointerType ptDest && ptDest.ReferentType == VoidType.Instance)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
1345Debug.Assert(!(pArgumentType is PointerType));
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (1)
164Debug.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)
135public static PointerType GetPointer(CType baseType) 137PointerType pPointer = TypeTable.LookupPointer(baseType); 277typeDst = SubstTypeCore(typeSrc = ((PointerType)type).ReferentType, pctx); 597Debug.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)