コード例 #1
0
ファイル: MethodProcessor.cs プロジェクト: jvbsl/ImpWiz
        public MethodProcessor(TypeProcessor typeContext, MethodDefinition method)
        {
            TypeContext       = typeContext;
            Method            = method;
            MarshalProcessors = new MarshalProcessor[Method.Parameters.Count];
            for (int i = 0; i < Method.Parameters.Count; i++)
            {
                var p = Method.Parameters[i];
                MarshalProcessors[i] = MarshalHelper.GetMarshaler(this, p);
            }


            ReturnParameterMarshaler = MarshalHelper.GetMarshaler(this, Method.MethodReturnType);
        }