Example #1
0
 /// <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);
Example #2
0
 /// <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);