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