/// <summary> /// Internal. Used by callsites cache to check whether called function is the same as the one declared. /// </summary> internal bool CheckFunctionDeclared(int index, int expectedHashCode) => AssertFunction(_functions.GetDeclaredRoutine(index - 1), expectedHashCode);
/// <summary> /// Gets declared function with given name. In case of more items they are considered as overloads. /// </summary> internal RoutineInfo GetDeclaredFunction(string name) => _functions.GetDeclaredRoutine(name);