13 references to MarshalHelpers
ILCompiler.ReadyToRun (13)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
123foreach (string variation in MarshalHelpers.GetPInvokeModuleNameVariations(method.Context.Target, module))
IL\Stubs\PInvokeILEmitter.cs (1)
75if (MarshalHelpers.ShouldCheckForPendingException(_targetMethod.Context.Target, _importMetadata))
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4895if (!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( 251MarshallerKind marshallerKind = MarshalHelpers.GetMarshallerKind(parameterType, 346MarshallerKind marshallerKind = MarshalHelpers.GetDisabledMarshallerKind(parameterType, marshallerType is MarshallerType.Field); 453MarshalHelpers.IsRuntimeMarshallingEnabled(((MetadataType)targetMethod.OwningType).Module)); 462MarshalHelpers.IsRuntimeMarshallingEnabled(moduleContext)); 481if (MarshalHelpers.ShouldCheckForPendingException(targetMethod.Context.Target, metadata))
parent\parent\Common\TypeSystem\Interop\IL\MarshalUtils.cs (1)
49MarshallerKind marshallerKind = MarshalHelpers.GetMarshallerKind(
PortableCallHelpers\PInvokeTableGenerator.cs (2)
38foreach (string variation in MarshalHelpers.GetPInvokeModuleNameVariations(target, module)) 50foreach (string variation in MarshalHelpers.GetPInvokeModuleNameVariations(target, pinvoke.Module))
PortableCallHelpers\PortableCallHelpersGenerator.cs (1)
113if (pinvokes.Count != pinvokesFromOtherModules && MarshalHelpers.IsRuntimeMarshallingEnabled(module))