13 references to MarshalHelpers
ILCompiler.ReadyToRun (13)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
123
foreach (string variation in
MarshalHelpers
.GetPInvokeModuleNameVariations(method.Context.Target, module))
IL\Stubs\PInvokeILEmitter.cs (1)
75
if (
MarshalHelpers
.ShouldCheckForPendingException(_targetMethod.Context.Target, _importMetadata))
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4895
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\PInvokeTableGenerator.cs (2)
38
foreach (string variation in
MarshalHelpers
.GetPInvokeModuleNameVariations(target, module))
50
foreach (string variation in
MarshalHelpers
.GetPInvokeModuleNameVariations(target, pinvoke.Module))
PortableCallHelpers\PortableCallHelpersGenerator.cs (1)
113
if (pinvokes.Count != pinvokesFromOtherModules &&
MarshalHelpers
.IsRuntimeMarshallingEnabled(module))