private bool InjectionTesting(ExecutableStringList StringList) { foreach (TSqlFragment Fragment in StringList.Strings) { switch (FragmentTypeParser.GetFragmentType(Fragment)) { case "VariableReference": var varRef = (VariableReference)Fragment; if (TestVariableAssigmentChain(varRef.Name)) { return(true); } break; } } return(false); }
private bool InjectionTesting(ExecutableStringList StringList) { foreach (TSqlFragment Fragment in StringList.Strings) { switch (FragmentTypeParser.GetFragmentType(Fragment)) { case "VariableReference": var varRef = (VariableReference) Fragment; if (TestVariableAssigmentChain(varRef.Name)) { return true; } break; } } return false; }
public override void Visit(ExecutableStringList node) { this.action(node); }
public override void ExplicitVisit(ExecutableStringList fragment) { _fragments.Add(fragment); }