C# 클래스 Platform.Invoke.DelegateTypeBuilder

상속: IDelegateTypeBuilder
파일 보기 프로젝트 열기: GeirGrusom/PlatformInvoker

비공개 메소드들

메소드 설명
CopyParameterAttributes ( ParameterBuilder builder, ParameterInfo parameter ) : void

Copies parameter attributes. This is used to copy marshalling attributes and other relevant data.

CreateDelegateType ( MethodInfo method, ModuleBuilder module ) : Type
FixMarshalTypeAttributes ( IList namedArguments ) : IEnumerable

Fixes MarshalType attributes to overcome an issue where the TypeRef will look for the specified custom marshalling in the dynamic assembly.

ProcessReturnParameterAttributes ( MethodInfo method, MethodBuilder invokeMethod ) : void

Copies return type attributes to the new type.