private static void MaybeReflectionWarn(IPersistentMap spanMap, MethodBase method, string methodName, IList<HostArg> args)
{
if (method == null && RT.booleanCast(RT.WarnOnReflectionVar.deref()))
RT.errPrintWriter().WriteLine(string.Format("Reflection warning, {0}:{1} - call to {2} can't be resolved with arguments of type {3}.",
Compiler.SourcePathVar.deref(), Compiler.GetLineFromSpanMap(spanMap), methodName, SignatureString(ExprsTypes(args))));
}