18 references to CurrentState
Microsoft.Extensions.DependencyModel (1)
Utf8JsonReaderExtensions.cs (1)
138
object boxedState = reader.
CurrentState
;
System.Text.Json (17)
System\Text\Json\Document\JsonDocument.Parse.cs (1)
433
JsonReaderState state = reader.
CurrentState
;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
369
reader.
CurrentState
,
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (2)
163
Debug.Assert(reader.BytesConsumed == (actualByteCount ?? utf8Json.Length) || reader.
CurrentState
.Options.AllowMultipleValues);
180
Debug.Assert(reader.BytesConsumed == (actualByteCount ?? utf8Json.Length) || reader.
CurrentState
.Options.AllowMultipleValues);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (4)
289
if (reader.
CurrentState
.Options.CommentHandling == JsonCommentHandling.Allow)
314
if (reader.
CurrentState
.Options.CommentHandling == JsonCommentHandling.Allow)
471
? new Utf8JsonReader(valueSequence, reader.
CurrentState
.Options)
472
: new Utf8JsonReader(valueSpan, reader.
CurrentState
.Options);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.ReadHelper.cs (1)
125
jsonReaderState = reader.
CurrentState
;
System\Text\Json\ThrowHelper.cs (4)
359
long lineNumber = json.
CurrentState
._lineNumber;
360
long bytePositionInLine = json.
CurrentState
._bytePositionInLine;
384
message = SR.Format(SR.ArrayDepthTooLarge, json.
CurrentState
.Options.MaxDepth);
441
message = SR.Format(SR.ObjectDepthTooLarge, json.
CurrentState
.Options.MaxDepth);
System\Text\Json\ThrowHelper.Serialization.cs (4)
467
long lineNumber = reader.
CurrentState
._lineNumber;
470
long bytePositionInLine = reader.
CurrentState
._bytePositionInLine;
587
long lineNumber = reader.
CurrentState
._lineNumber;
588
long bytePositionInLine = reader.
CurrentState
._bytePositionInLine;