1 write to _s
System.Web.Extensions (1)
Script\Serialization\JavaScriptObjectDeserializer.cs (1)
42
_s
= new JavaScriptString(input);
39 references to _s
System.Web.Extensions (39)
Script\Serialization\JavaScriptObjectDeserializer.cs (39)
35
if (jsod.
_s
.GetNextNonEmptyChar() != null) {
36
throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, jsod.
_s
.ToString()));
49
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_DepthLimitExceeded));
52
Nullable<Char> c =
_s
.GetNextNonEmptyChar();
57
_s
.MovePrev();
85
Nullable<Char> c =
_s
.MoveNext();
87
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_InvalidArrayStart));
91
while ((c =
_s
.GetNextNonEmptyChar()) != null && c != ']') {
92
_s
.MovePrev();
98
c =
_s
.GetNextNonEmptyChar();
105
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_InvalidArrayExpectComma));
109
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_InvalidArrayExtraComma));
112
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_InvalidArrayEnd));
119
Nullable<Char> c =
_s
.MoveNext();
121
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_ExpectedOpenBrace));
125
while ((c =
_s
.GetNextNonEmptyChar()) != null) {
126
_s
.MovePrev();
129
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_InvalidMemberName));
136
c =
_s
.GetNextNonEmptyChar();
138
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_InvalidObject));
148
c =
_s
.GetNextNonEmptyChar();
159
c =
_s
.GetNextNonEmptyChar();
165
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_InvalidObject));
170
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_InvalidObject));
191
Nullable<Char> c =
_s
.GetNextNonEmptyChar();
196
_s
.MovePrev();
273
while ((c =
_s
.MoveNext()) != null) {
280
_s
.MovePrev();
292
Nullable<Char> c =
_s
.MoveNext();
296
while ((c =
_s
.MoveNext()) != null) {
322
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_UnterminatedString));
345
sb.Append((char)int.Parse(
_s
.MoveNext(4), NumberStyles.HexNumber, CultureInfo.InvariantCulture));
348
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_BadEscape));
359
throw new ArgumentException(
_s
.GetDebugString(AtlasWeb.JSON_StringNotQuoted));
370
int pos =
_s
.IndexOf(DateTimeSuffix);
371
Match match = Regex.Match(
_s
.Substring(pos + DateTimeSuffixLength),
377
_s
.MoveNext(match.Length);
394
String next =
_s
.MoveNext(DateTimePrefixLength);
396
_s
.MovePrev(DateTimePrefixLength);