public override Type GetExpressionType()
{
Type retVal = null;
Function function = Called.GetStaticCallable() as Function;
if (function != null)
{
retVal = function.ReturnType;
}
else
{
AddError("Cannot get type of function call " + ToString(), RuleChecksEnum.SemanticAnalysisError);
}
return retVal;
}