11 types derived from Marshaller
ILCompiler.ReadyToRun (11)
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\IL\Marshaller.cs (11)
875internal sealed class NotSupportedMarshaller : Marshaller 883internal sealed class VoidReturnMarshaller : Marshaller 897internal sealed class BlittableValueMarshaller : Marshaller 940internal sealed class BlittableStructPtrMarshaller : Marshaller 963internal class ArrayMarshaller : Marshaller 1433internal sealed class BooleanMarshaller : Marshaller 1481internal sealed class UnicodeStringMarshaller : Marshaller 1601internal sealed class AnsiStringMarshaller : Marshaller 1662internal sealed class UTF8StringMarshaller : Marshaller 1757internal sealed class SafeHandleMarshaller : Marshaller 1917internal sealed class DelegateMarshaller : Marshaller
24 references to Marshaller
ILCompiler.ReadyToRun (24)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
715return !Marshaller.IsMarshallingRequired(method);
IL\Stubs\PInvokeILEmitter.cs (3)
25private readonly Marshaller[] _marshallers; 34_marshallers = Marshaller.GetMarshallersForMethod(targetMethod); 145IsMarshallingRequired = Marshaller.IsMarshallingRequired(methodIL.OwningMethod);
Interop\IL\Marshaller.ReadyToRun.cs (8)
10protected static Marshaller CreateMarshaller(MarshallerKind kind) 29private static Marshaller[] GetMarshallers( 35Marshaller[] marshallers = new Marshaller[methodSig.Length + 1]; 85public static Marshaller[] GetMarshallersForMethod(MethodDesc targetMethod) 95public static Marshaller[] GetMarshallersForSignature(MethodSignature methodSig, ParameterMetadata[] paramMetadata, ModuleDesc moduleContext) 135Marshaller[] marshallers = GetMarshallersForSignature(methodSig, System.Array.Empty<ParameterMetadata>(), moduleContext); 147Marshaller[] marshallers = GetMarshallersForSignature(methodSig, paramMetadata, moduleContext);
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
3294return Marshaller.IsMarshallingRequired(sig, Array.Empty<ParameterMetadata>(), ((MetadataType)HandleToObject(callSiteSig->scope).OwningMethod.OwningType).Module);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (1)
4486if (Marshaller.IsMarshallingRequired(this.MethodBeingCompiled.Signature, ((MetadataType)this.MethodBeingCompiled.OwningType).Module, this.MethodBeingCompiled.GetUnmanagedCallersOnlyMethodCallingConventions())) // Only blittable arguments
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\IL\Marshaller.cs (10)
38protected Marshaller[] Marshallers; 227public static Marshaller CreateMarshaller(TypeDesc parameterType, 233Marshaller[] marshallers, 262Marshaller marshaller = CreateMarshaller(marshallerKind); 338public static Marshaller CreateDisabledMarshaller(TypeDesc parameterType, 341Marshaller[] marshallers, 350Marshaller marshaller = CreateMarshaller(marshallerKind); 965private Marshaller _elementMarshaller; 991protected Marshaller GetElementMarshaller(MarshalDirection direction) 1297Marshaller elementMarshaller = GetElementMarshaller(MarshalDirection.Forward);