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