41 references to IsFunctionPointer
System.Private.CoreLib (41)
Internal\Reflection\Core\Execution\ExecutionDomain.cs (1)
146
else if (pEEType->
IsFunctionPointer
)
Internal\Runtime\Augments\RuntimeAugments.cs (6)
147
if (elementMT->IsPointer || elementMT->
IsFunctionPointer
)
244
if (fieldType.ToMethodTable()->
IsFunctionPointer
)
266
if (fieldType.ToMethodTable()->
IsFunctionPointer
)
333
if (fieldTypeHandle.ToMethodTable()->
IsFunctionPointer
)
421
if (eeType->IsGenericTypeDefinition || eeType->IsPointer || eeType->IsByRef || eeType->
IsFunctionPointer
)
522
return typeHandle.ToMethodTable()->
IsFunctionPointer
;
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\MethodTable.cs (5)
643
Debug.Assert(
IsFunctionPointer
);
659
Debug.Assert(
IsFunctionPointer
);
689
Debug.Assert(
IsFunctionPointer
);
1223
Debug.Assert(
IsFunctionPointer
);
1226
if (
IsFunctionPointer
)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (1)
34
!pEEType->
IsFunctionPointer
&&
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (11)
188
Debug.Assert(!pTargetType->
IsFunctionPointer
, "IsInstanceOfClass called with function pointer MethodTable");
393
Debug.Assert(!pTargetType->
IsFunctionPointer
, "CheckCastClass called with function pointer MethodTable");
410
Debug.Assert(!pTargetType->
IsFunctionPointer
, "CheckCastClassSpecial called with function pointer MethodTable");
479
Debug.Assert(!pDerivedType->
IsFunctionPointer
, "did not expect function pointer");
483
Debug.Assert(!pBaseType->
IsFunctionPointer
, "did not expect function pointer");
505
Debug.Assert(!pTargetType->
IsFunctionPointer
, "did not expect function pointer type");
1116
else if (pSourceRelatedParameterType->
IsFunctionPointer
)
1137
if (pTargetType->
IsFunctionPointer
)
1152
else if (pSourceType->
IsFunctionPointer
)
1223
else if (pTargetType->IsParameterizedType || pTargetType->
IsFunctionPointer
)
1261
else if (pTargetType->IsParameterizedType || pTargetType->
IsFunctionPointer
)
System\Array.NativeAot.cs (5)
300
if (sourceElementEEType->IsPointer || sourceElementEEType->
IsFunctionPointer
301
|| destinationElementEEType->IsPointer || destinationElementEEType->
IsFunctionPointer
)
383
if (ElementMethodTable->IsPointer || ElementMethodTable->
IsFunctionPointer
)
395
Debug.Assert(!pElementEEType->IsPointer && !pElementEEType->
IsFunctionPointer
);
418
else if (pElementEEType->IsPointer || pElementEEType->
IsFunctionPointer
)
System\Attribute.NativeAot.cs (2)
43
Debug.Assert(!fieldType->IsPointer && !fieldType->
IsFunctionPointer
);
70
Debug.Assert(!fieldType->IsPointer && !fieldType->
IsFunctionPointer
);
System\InvokeUtils.cs (1)
130
if (dstEEType->IsPointer || dstEEType->
IsFunctionPointer
)
System\Reflection\DynamicInvokeInfo.cs (2)
102
else if (eeArgumentType->
IsFunctionPointer
)
161
else if (eeReturnType->
IsFunctionPointer
)
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
383
if (mt->ElementType == EETypeElementType.Void || mt->IsGenericTypeDefinition || mt->IsByRef || mt->IsPointer || mt->
IsFunctionPointer
)
System\RuntimeType.NativeAot.cs (4)
555
return pEEType->
IsFunctionPointer
;
566
return pEEType->
IsFunctionPointer
&& pEEType->IsUnmanagedFunctionPointer;
576
if (!pEEType->
IsFunctionPointer
)
601
if (!pEEType->
IsFunctionPointer
)
System\TypedReference.cs (1)
54
if (mt->IsPointer || mt->
IsFunctionPointer
)
System\ValueType.cs (1)
139
Debug.Assert(!fieldType->IsPointer && !fieldType->
IsFunctionPointer
);