60 references to IsPointer
ILCompiler.Compiler (26)
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (1)
388
if (parameterType.
IsPointer
)
Compiler\DependencyAnalysis\GenericTypesTemplateMap.cs (1)
107
return !elementType.
IsPointer
&& !elementType.IsFunctionPointer;
Compiler\DependencyAnalysis\PointerTypeMapNode.cs (1)
50
if (!type.
IsPointer
)
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (1)
92
while (type.
IsPointer
)
Compiler\TypePreinit.cs (3)
1886
Debug.Assert(locationType.IsValueType || locationType.
IsPointer
|| locationType.IsFunctionPointer);
2154
if (!locationType.
IsPointer
2330
Debug.Assert(type.IsValueType || type.
IsPointer
|| type.IsFunctionPointer);
Compiler\UserDefinedTypeDescriptor.cs (1)
338
else if (type.
IsPointer
)
IL\RvaIntrinsicPatternAnalyzer.cs (1)
285
&& !elementType.
IsPointer
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
377
|| typeArg.
IsPointer
parent\parent\Common\Compiler\Dataflow\EcmaExtensions.cs (1)
103
=> type.IsByRef || type.
IsPointer
;
parent\parent\Common\Compiler\TypeExtensions.cs (1)
158
return type.IsMdArray || elementType.
IsPointer
|| elementType.IsFunctionPointer;
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (1)
146
else if (type.
IsPointer
)
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)
513
else if (type.
IsPointer
)
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)
426
else if (type.
IsPointer
)
ILCompiler.ReadyToRun (19)
Compiler\DependencyAnalysis\ReadyToRun\TypeHandle.cs (2)
42
public bool IsPointerType() { if (_isByRef) return false; return _type.
IsPointer
; }
162
if ((typeOfEmbeddedField != null) && ((typeOfEmbeddedField.IsValueType) || (typeOfEmbeddedField.
IsPointer
)))
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (1)
747
if (!ValidateVarianceInType(associatedTypeInstantiation, parameterizedType.ParameterType, (parameterizedType.IsByRef || parameterizedType.
IsPointer
) ? Internal.TypeSystem.GenericVariance.None : position))
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
327
type.
IsPointer
||
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (1)
102
if (fieldType.IsPrimitive || fieldType.IsFunctionPointer || fieldType.
IsPointer
)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
377
|| typeArg.
IsPointer
parent\parent\Common\Compiler\Dataflow\EcmaExtensions.cs (1)
103
=> type.IsByRef || type.
IsPointer
;
parent\parent\Common\Compiler\TypeExtensions.cs (1)
158
return type.IsMdArray || elementType.
IsPointer
|| elementType.IsFunctionPointer;
parent\parent\Common\JitInterface\CorInfoImpl.cs (2)
1007
if (type.
IsPointer
|| type.IsFunctionPointer)
3298
if (td.IsArray || td.IsByRef || td.
IsPointer
)
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)
513
else if (type.
IsPointer
)
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)
426
else if (type.
IsPointer
)
PortableCallHelpers\PInvokeTableGenerator.cs (2)
406
if (!type.IsValueType || type.
IsPointer
|| type.IsByRef || type is FunctionPointerType)
432
if (!type.IsValueType || type.
IsPointer
|| type is FunctionPointerType)
ILCompiler.RyuJit (2)
parent\parent\Common\JitInterface\CorInfoImpl.cs (2)
1007
if (type.
IsPointer
|| type.IsFunctionPointer)
3298
if (td.IsArray || td.IsByRef || td.
IsPointer
)
ILCompiler.TypeSystem (13)
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (4)
151
if (thisType.
IsPointer
&& otherType.
IsPointer
)
165
thisType.
IsPointer
|| otherType.
IsPointer
||
parent\parent\Common\TypeSystem\Common\ConstructedTypeRewritingHelpers.cs (1)
115
else if (type.
IsPointer
)
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\TypeSystemConstraintsHelpers.cs (1)
178
if (arg.
IsPointer
|| arg.IsByRef || arg.IsGenericParameter || arg.IsVoid)
parent\parent\Common\TypeSystem\Common\TypeSystemContext.cs (1)
675
if (arrType.IsSzArray && !elementType.
IsPointer
&& !elementType.IsFunctionPointer)
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (1)
534
if (replacementType.
IsPointer
)