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