Esempio n. 1
0
        /// <summary>
        /// Helper for checking function calls.
        /// Type checks the input.
        /// Throws an exception when an error is found.
        /// </summary>
        /// <param name="seqExprFuncCall">The function call to check</param>
        /// <param name="ownerType">Gives the owner type of the function method call, in case this is a method call, otherwise null</param>
        private void CheckFunctionCallBase(SequenceExpressionFunctionCall seqExprFuncCall, GrGenType ownerType)
        {
            CheckInputParameters(seqExprFuncCall, seqExprFuncCall.ArgumentExpressions, ownerType);

            // ok, this is a well-formed invocation
        }
Esempio n. 2
0
 /// <summary>
 /// Helper for checking function calls.
 /// Type checks the input, type checks the output.
 /// Throws an exception when an error is found.
 /// </summary>
 /// <param name="seq">The function call to check</param>
 public void CheckFunctionCall(SequenceExpressionFunctionCall seq)
 {
     CheckFunctionCallBase(seq, null);
 }