コード例 #1
0
ファイル: BlockDispatcherN.cs プロジェクト: Hank923/ironruby
        internal BlockDispatcherN(BlockCallTargetN/*!*/ block, int parameterCount, BlockSignatureAttributes attributesAndArity)
            : base(attributesAndArity) {
            Assert.NotNull(block);
            Debug.Assert(parameterCount > BlockDispatcher.MaxBlockArity);
            Debug.Assert(!HasUnsplatParameter);

            _parameterCount = parameterCount;
            _block = block;
        }
コード例 #2
0
        internal BlockDispatcherN(BlockCallTargetN /*!*/ block, int parameterCount, BlockSignatureAttributes attributes)
            : base(attributes)
        {
            Assert.NotNull(block);
            Debug.Assert(parameterCount > BlockDispatcher.MaxBlockArity);
            Debug.Assert(!HasUnsplatParameter);

            _parameterCount = parameterCount;
            _block          = block;
        }