C# Class System.Linq.Expressions.Compiler.DelegateHelpers

Mostra file Open project: dotnet/corefx Class Usage Examples

Private Methods

Method Description
GetActionType ( Type types ) : Type
GetFuncType ( Type types ) : Type
GetNextTypeInfo ( Type initialArg, TypeInfo curTypeInfo ) : TypeInfo
IsByRef ( DynamicMetaObject mo ) : bool
MakeCallSiteDelegate ( ReadOnlyCollection types, Type returnType ) : Type

Finds a delegate type for a CallSite using the types in the ReadOnlyCollection of Expression. We take the read-only collection of Expression explicitly to avoid allocating memory (an array of types) on lookup of delegate types.

MakeDeferredSiteDelegate ( DynamicMetaObject args, Type returnType ) : Type

Finds a delegate type for a CallSite using the MetaObject array. We take the array of MetaObject explicitly to avoid allocating memory (an array of types) on lookup of delegate types.

MakeDelegateType ( Type types ) : Type

Finds a delegate type using the types in the array. We use the cache to avoid copying the array, and to cache the created delegate type

MakeNewDelegate ( Type types ) : Type
NextTypeInfo ( Type initialArg ) : TypeInfo
NextTypeInfo ( Type initialArg, TypeInfo curTypeInfo ) : TypeInfo
TryMakeVBStyledCallSite ( Type types ) : Type