// Token: 0x0600173A RID: 5946 RVA: 0x0006E038 File Offset: 0x0006C238 public static string ToEscapedJavaScriptString(string value, char delimiter, bool appendDelimiters, Class_356 stringEscapeHandling) { bool[] charEscapeFlags = Class_507.GetCharEscapeFlags(stringEscapeHandling, delimiter); string result; using (StringWriter stringWriter = Class_515.CreateStringWriter(Class_515.GetLength(value) ?? 16)) { char[] array = null; Class_507.WriteEscapedJavaScriptString(stringWriter, value, delimiter, appendDelimiters, charEscapeFlags, stringEscapeHandling, ref array); result = stringWriter.ToString(); } return(result); }
// Token: 0x06001739 RID: 5945 RVA: 0x0006E02A File Offset: 0x0006C22A public static string ToEscapedJavaScriptString(string value, char delimiter, bool appendDelimiters) { return(Class_507.ToEscapedJavaScriptString(value, delimiter, appendDelimiters, Class_356.Default)); }