75 references to IsByRef
ILCompiler.Compiler (31)
Compiler\Dataflow\HandleCallAction.cs (1)
423if (staticType?.IsByRef == true)
Compiler\DependencyAnalysis\ByRefTypeMapNode.cs (1)
50if (!type.IsByRef)
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (1)
85if (type.IsByRef)
Compiler\TypePreinit.cs (3)
1864if (locationType.IsGCPointer || locationType.IsByRef) 2150if (locationType.IsByRef && popped.Value is ByRefValueBase) 2192if (!locationType.IsByRef
Compiler\UserDefinedTypeDescriptor.cs (2)
47if (type.IsByRef) 342else if (type.IsByRef)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
269if (parameterType.IsByRef) 376if (typeArg.IsByRef
parent\parent\Common\Compiler\Dataflow\EcmaExtensions.cs (2)
83if (!method.Signature[index].IsByRef) 103=> type.IsByRef || type.IsPointer;
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (1)
151else if (type.IsByRef)
parent\parent\Common\TypeSystem\IL\DelegateInfo.cs (2)
192if (paramType.IsByRef) 200if (returnType.IsByRef)
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
84if (param.IsByRef)
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (1)
196bool isByRefType = delegateSignature[i].IsByRef;
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (5)
204if (Signature[0].IsByRef) 543if (paramType.IsByRef) 545hasRefArgs |= paramType.IsByRef; 550hasRefArgs |= paramType.IsByRef; 616if (paramType.IsByRef)
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (3)
60if (type.IsByRef) 161if (!parameterType.IsByRef) 173if (!returnType.IsByRef)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (2)
234bool isByRef = type.IsByRef; 919else if (underlyingType.IsByRef)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (1)
958if (parameterType.IsByRef)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (2)
271marshaller.ManagedType = parameterType.IsByRef ? parameterType.GetParameterType() : parameterType; 273marshaller.IsManagedByRef = parameterType.IsByRef;
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
437else if (type.IsByRef)
ILCompiler.ReadyToRun (17)
Compiler\DependencyAnalysis\ReadyToRun\TypeHandle.cs (1)
23_isByRef = _type.IsByRef;
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (1)
747if (!ValidateVarianceInType(associatedTypeInstantiation, parameterizedType.ParameterType, (parameterizedType.IsByRef || parameterizedType.IsPointer) ? Internal.TypeSystem.GenericVariance.None : position))
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (1)
107else if (fieldType.IsByRef || fieldType.IsByRefLike)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
269if (parameterType.IsByRef) 376if (typeArg.IsByRef
parent\parent\Common\Compiler\Dataflow\EcmaExtensions.cs (2)
83if (!method.Signature[index].IsByRef) 103=> type.IsByRef || type.IsPointer;
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
1015if (type.IsByRef) 2570else if (fieldType.IsByRef) 3298if (td.IsArray || td.IsByRef || td.IsPointer)
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
84if (param.IsByRef)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (2)
234bool isByRef = type.IsByRef; 919else if (underlyingType.IsByRef)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (2)
271marshaller.ManagedType = parameterType.IsByRef ? parameterType.GetParameterType() : parameterType; 273marshaller.IsManagedByRef = parameterType.IsByRef;
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
437else if (type.IsByRef)
PortableCallHelpers\PInvokeTableGenerator.cs (1)
406if (!type.IsValueType || type.IsPointer || type.IsByRef || type is FunctionPointerType)
ILCompiler.RyuJit (3)
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
1015if (type.IsByRef) 2570else if (fieldType.IsByRef) 3298if (td.IsArray || td.IsByRef || td.IsPointer)
ILCompiler.TypeSystem (24)
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (4)
145if (thisType.IsByRef && otherType.IsByRef) 164if (thisType.IsByRef || otherType.IsByRef ||
parent\parent\Common\TypeSystem\Common\ConstructedTypeRewritingHelpers.cs (1)
119else if (type.IsByRef)
parent\parent\Common\TypeSystem\Common\ExplicitLayoutValidator.cs (1)
47else if (fieldType.IsByRef)
parent\parent\Common\TypeSystem\Common\FieldLayoutIntervalCalculator.cs (1)
66if (fieldType.IsGCPointer || fieldType.IsPointer || fieldType.IsFunctionPointer || fieldType.IsByRef)
parent\parent\Common\TypeSystem\Common\MetadataFieldLayoutAlgorithm.cs (7)
40if ((fieldType.IsByRef || fieldType.IsByRefLike) && !type.IsByRefLike) 209if (fieldType.IsByRef || (fieldType.IsValueType && ((DefType)fieldType).IsByRefLike)) 288if (fieldType.IsByRef 784Debug.Assert(fieldType.IsPrimitive || fieldType.IsPointer || fieldType.IsFunctionPointer || fieldType.IsEnum || fieldType.IsByRef); 854Debug.Assert(fieldType.IsPrimitive || fieldType.IsPointer || fieldType.IsFunctionPointer || fieldType.IsEnum || fieldType.IsByRef); 1176Debug.Assert(fieldType.IsPointer || fieldType.IsFunctionPointer || fieldType.IsByRef); 1179fieldData.HasAutoLayout = fieldType.IsByRef;
parent\parent\Common\TypeSystem\Common\TypeSystemConstraintsHelpers.cs (1)
178if (arg.IsPointer || arg.IsByRef || arg.IsGenericParameter || arg.IsVoid)
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (9)
72if (retType.IsVoid || retType.IsByRef || !string.IsNullOrEmpty(name)) 101&& !firstArgType.IsByRef) 130if (!retType.IsByRef 133&& !firstArgType.IsByRef)) 231TypeDesc targetType = targetTypeMaybe.IsByRef 518if (replacementType.IsByRef) 520if (!initialType.IsByRef) 528else if (initialType.IsByRef) 576if (isReturnValue && initialType.IsByRef)