62 references to IsFunctionPointer
ILCompiler.Compiler (31)
Compiler\DependencyAnalysis\EETypeNode.cs (4)
567
return type.IsParameterizedType || type.
IsFunctionPointer
|| type is InstantiatedType;
672
if (_type.
IsFunctionPointer
)
856
else if (_type.
IsFunctionPointer
)
1201
if (_type.
IsFunctionPointer
)
Compiler\DependencyAnalysis\FunctionPointerMapNode.cs (1)
59
if (!type.
IsFunctionPointer
)
Compiler\DependencyAnalysis\GenericTypesTemplateMap.cs (1)
107
return !elementType.IsPointer && !elementType.
IsFunctionPointer
;
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (1)
177
if (type.
IsFunctionPointer
)
Compiler\TypePreinit.cs (4)
1886
Debug.Assert(locationType.IsValueType || locationType.IsPointer || locationType.
IsFunctionPointer
);
2155
&& !locationType.
IsFunctionPointer
2330
Debug.Assert(type.IsValueType || type.IsPointer || type.
IsFunctionPointer
);
2763
Debug.Assert(field.Offset.AsInt % _parent._type.Context.Target.PointerSize == 0 && field.FieldType.
IsFunctionPointer
);
Compiler\UserDefinedTypeDescriptor.cs (1)
346
else if (type.
IsFunctionPointer
)
IL\RvaIntrinsicPatternAnalyzer.cs (1)
286
&& !elementType.
IsFunctionPointer
)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
309
else if (type.
IsFunctionPointer
)
378
|| typeArg.
IsFunctionPointer
parent\parent\Common\Compiler\TypeExtensions.cs (1)
158
return type.IsMdArray || elementType.IsPointer || elementType.
IsFunctionPointer
;
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (2)
50
else if (type.
IsFunctionPointer
)
156
else if (type.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\IL\DelegateInfo.cs (2)
196
if (paramType.IsPointer || paramType.
IsFunctionPointer
)
204
if (returnType.IsPointer || returnType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs (2)
283
if (fieldType.IsPrimitive || fieldType.IsEnum || fieldType.IsPointer || fieldType.
IsFunctionPointer
)
336
if (fieldType.IsPointer || fieldType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (1)
63
if (type.IsPointer || type.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\IL\Stubs\GetFieldHelperMethodOverride.cs (1)
123
if (boxableFieldType.IsPointer || boxableFieldType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.Aot.cs (1)
98
Debug.Assert(nativeType.IsPointer || nativeType.
IsFunctionPointer
);
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (3)
528
else if (type.
IsFunctionPointer
)
827
else if (elementType.IsPointer || elementType.
IsFunctionPointer
)
928
else if (underlyingType.IsPointer || underlyingType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (1)
1230
if (ManagedType.IsValueType || ManagedType.IsPointer || ManagedType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (1)
291
if (parameterType.IsValueType || parameterType.IsString || parameterType.IsPointer || parameterType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
431
else if (type.
IsFunctionPointer
)
ILCompiler.ReadyToRun (15)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (2)
328
type.
IsFunctionPointer
||
838
if (type.
IsFunctionPointer
)
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (1)
102
if (fieldType.IsPrimitive || fieldType.
IsFunctionPointer
|| fieldType.IsPointer)
Compiler\ReadyToRunTypeMapEncoding.cs (1)
37
if (type.
IsFunctionPointer
)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
309
else if (type.
IsFunctionPointer
)
378
|| typeArg.
IsFunctionPointer
parent\parent\Common\Compiler\TypeExtensions.cs (1)
158
return type.IsMdArray || elementType.IsPointer || elementType.
IsFunctionPointer
;
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
1007
if (type.IsPointer || type.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs (2)
283
if (fieldType.IsPrimitive || fieldType.IsEnum || fieldType.IsPointer || fieldType.
IsFunctionPointer
)
336
if (fieldType.IsPointer || fieldType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (3)
528
else if (type.
IsFunctionPointer
)
827
else if (elementType.IsPointer || elementType.
IsFunctionPointer
)
928
else if (underlyingType.IsPointer || underlyingType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (1)
291
if (parameterType.IsValueType || parameterType.IsString || parameterType.IsPointer || parameterType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
431
else if (type.
IsFunctionPointer
)
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
1007
if (type.IsPointer || type.
IsFunctionPointer
)
ILCompiler.TypeSystem (15)
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (6)
122
Debug.Assert(fn1Ttype.
IsFunctionPointer
&& fn2Type.
IsFunctionPointer
);
157
if (thisType.
IsFunctionPointer
&& otherType.
IsFunctionPointer
)
166
thisType.
IsFunctionPointer
|| otherType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\Common\ConstructedTypeRewritingHelpers.cs (2)
43
else if (type.
IsFunctionPointer
)
126
else if (type.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\Common\ExplicitLayoutValidator.cs (1)
56
else if (fieldType.IsPointer || fieldType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\Common\FieldLayoutIntervalCalculator.cs (1)
66
if (fieldType.IsGCPointer || fieldType.IsPointer || fieldType.
IsFunctionPointer
|| fieldType.IsByRef)
parent\parent\Common\TypeSystem\Common\MetadataFieldLayoutAlgorithm.cs (3)
784
Debug.Assert(fieldType.IsPrimitive || fieldType.IsPointer || fieldType.
IsFunctionPointer
|| fieldType.IsEnum || fieldType.IsByRef);
854
Debug.Assert(fieldType.IsPrimitive || fieldType.IsPointer || fieldType.
IsFunctionPointer
|| fieldType.IsEnum || fieldType.IsByRef);
1176
Debug.Assert(fieldType.IsPointer || fieldType.
IsFunctionPointer
|| fieldType.IsByRef);
parent\parent\Common\TypeSystem\Common\TypeSystemContext.cs (1)
675
if (arrType.IsSzArray && !elementType.IsPointer && !elementType.
IsFunctionPointer
)
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (1)
238
|| targetType.
IsFunctionPointer
)