10 references to MarshalHelpers
ILCompiler.ReadyToRun (10)
IL\Stubs\PInvokeILEmitter.cs (1)
75
if (
MarshalHelpers
.ShouldCheckForPendingException(_targetMethod.Context.Target, _importMetadata))
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4859
if (!isFallbackBodyCompilation &&
MarshalHelpers
.IsMarshallingRequired(this.MethodBeingCompiled.Signature, ((MetadataType)this.MethodBeingCompiled.OwningType).Module)) // Only blittable arguments
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (6)
52
_nativeType =
MarshalHelpers
.GetNativeTypeFromMarshallerKind(
251
MarshallerKind marshallerKind =
MarshalHelpers
.GetMarshallerKind(parameterType,
346
MarshallerKind marshallerKind =
MarshalHelpers
.GetDisabledMarshallerKind(parameterType, marshallerType is MarshallerType.Field);
453
MarshalHelpers
.IsRuntimeMarshallingEnabled(((MetadataType)targetMethod.OwningType).Module));
462
MarshalHelpers
.IsRuntimeMarshallingEnabled(moduleContext));
481
if (
MarshalHelpers
.ShouldCheckForPendingException(targetMethod.Context.Target, metadata))
parent\parent\Common\TypeSystem\Interop\IL\MarshalUtils.cs (1)
49
MarshallerKind marshallerKind =
MarshalHelpers
.GetMarshallerKind(
PortableCallHelpers\PortableCallHelpersGenerator.cs (1)
113
if (pinvokes.Count != pinvokesFromOtherModules &&
MarshalHelpers
.IsRuntimeMarshallingEnabled(module))