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