56 references to IsGCPointer
ILCompiler.Compiler (31)
Compiler\CompilerTypeSystemContext.Aot.cs (1)
140
return fieldType.
IsGCPointer
;
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (1)
108
else if (isOut && !type.
IsGCPointer
)
Compiler\TypePreinit.cs (14)
293
&& (elementType.
IsGCPointer
671
if (fieldType.
IsGCPointer
)
738
if (field.FieldType.
IsGCPointer
&& value != null)
760
if (field.FieldType.
IsGCPointer
783
if (field.FieldType.
IsGCPointer
1132
if (token.
IsGCPointer
1597
if (elementType.
IsGCPointer
)
1651
if (elementType.
IsGCPointer
)
1864
if (locationType.
IsGCPointer
|| locationType.IsByRef)
1955
bool result = method.Instantiation[0].
IsGCPointer
|| (method.Instantiation[0] is DefType defType && defType.ContainsGCPointers);
2200
if (!locationType.
IsGCPointer
)
3637
Debug.Assert(!field.FieldType.
IsGCPointer
);
3652
if (field.FieldType.
IsGCPointer
)
3689
Debug.Assert(!field.FieldType.
IsGCPointer
);
Compiler\UserDefinedTypeDescriptor.cs (1)
663
fieldTypeIndex = fieldType.
IsGCPointer
?
IL\ILImporter.Scanner.cs (3)
618
else if (owningType.
IsGCPointer
)
1649
if (elementType == null || elementType.
IsGCPointer
)
1660
if (elementType.
IsGCPointer
&& !_isReadOnly)
parent\parent\Common\Compiler\TypeExtensions.cs (5)
185
return type1.
IsGCPointer
!= type2.
IsGCPointer
;
365
else if (taElem.
IsGCPointer
&& tbElem.
IsGCPointer
)
724
if (!c.
IsGCPointer
)
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (1)
91
if ((arrayElementType.IsValueType && ((DefType)arrayElementType).ContainsGCPointers) || arrayElementType.
IsGCPointer
)
parent\parent\Common\Internal\Runtime\GCDescEncoder.cs (2)
24
if (elementType.
IsGCPointer
)
81
if (elementType.
IsGCPointer
)
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (2)
219
&& !elementType.
IsGCPointer
)
233
&& !elementType.
IsGCPointer
)
parent\parent\Common\TypeSystem\IL\Stubs\ArrayMethodILEmitter.cs (1)
91
if (_elementType.
IsGCPointer
)
ILCompiler.ReadyToRun (7)
Compiler\ReadyToRunCompilerContext.cs (1)
176
return fieldType.
IsGCPointer
;
parent\parent\Common\Compiler\TypeExtensions.cs (5)
185
return type1.
IsGCPointer
!= type2.
IsGCPointer
;
365
else if (taElem.
IsGCPointer
&& tbElem.
IsGCPointer
)
724
if (!c.
IsGCPointer
)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
2566
else if (fieldType.
IsGCPointer
)
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
2566
else if (fieldType.
IsGCPointer
)
ILCompiler.TypeSystem (17)
parent\parent\Common\TypeSystem\Canon\CastingHelper.Canon.cs (3)
21
return thisType.
IsGCPointer
;
38
return type.
IsGCPointer
|| context.IsCanonicalDefinitionType(type, CanonicalFormKind.Any);
44
return otherType.
IsGCPointer
|| context.IsCanonicalDefinitionType(otherType, CanonicalFormKind.Any);
parent\parent\Common\TypeSystem\Canon\TypeSystemConstraintsHelpers.Canon.cs (1)
43
return instantiationParam.
IsGCPointer
;
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (3)
342
if (fromParamUnderlyingType.
IsGCPointer
)
377
if (!typeConstraint.IsInterface && typeConstraint.
IsGCPointer
)
595
if (fromUnderlyingType.
IsGCPointer
)
parent\parent\Common\TypeSystem\Common\ExplicitLayoutValidator.cs (1)
38
if (fieldType.
IsGCPointer
)
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 (4)
267
else if (fieldType.
IsGCPointer
)
370
fieldType.
IsGCPointer
778
else if (fieldType.
IsGCPointer
)
848
if (fieldType.
IsGCPointer
)
parent\parent\Common\TypeSystem\Common\TypeSystemConstraintsHelpers.cs (1)
31
if (!instantiationParam.
IsGCPointer
parent\parent\Common\TypeSystem\Common\Utilities\GCPointerMap.Algorithm.cs (3)
45
if (fieldType.
IsGCPointer
)
83
if (fieldType.
IsGCPointer
)
112
if (fieldType.
IsGCPointer
)