private static bool IsInsideString(string code, int index) { var stringStructure = new InnerStructures.StringStructure(); for (var i = 0; i <= index; i++) stringStructure.Handle(code[i]); return stringStructure.IsInsideString; }
private static bool IsInsideString(string code, int index) { var stringStructure = new InnerStructures.StringStructure(); for (var i = 0; i <= index; i++) { stringStructure.Handle(code[i]); } return(stringStructure.IsInsideString); }