Rhino.ScriptRuntime.IsGeneratedScript C# (CSharp) Method

IsGeneratedScript() static private method

static private IsGeneratedScript ( string sourceUrl ) : bool
sourceUrl string
return bool
		internal static bool IsGeneratedScript(string sourceUrl)
		{
			// ALERT: this may clash with a valid URL containing (eval) or
			// (Function)
			return sourceUrl.IndexOf("(eval)") >= 0 || sourceUrl.IndexOf("(Function)") >= 0;
		}
ScriptRuntime