public bool TryGetValue(string name, bool ignoreCase, out dynamic value) { if (HasVariable(name)) { object objValue; if (GetScopeVariable(name, ignoreCase).TryGetValue(out objValue)) { value = objValue; return true; } } value = null; return false; }