19 references to CurrentState
Microsoft.Extensions.DependencyModel (1)
Utf8JsonReaderExtensions.cs (1)
138
object boxedState = reader.
CurrentState
;
System.Text.Json (18)
System\Text\Json\Document\JsonDocument.Parse.cs (1)
453
JsonReaderState state = reader.
CurrentState
;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
385
reader.
CurrentState
,
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (2)
148
Debug.Assert(reader.BytesConsumed == (actualByteCount ?? utf8Json.Length) || reader.
CurrentState
.Options.AllowMultipleValues);
165
Debug.Assert(reader.BytesConsumed == (actualByteCount ?? utf8Json.Length) || reader.
CurrentState
.Options.AllowMultipleValues);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (5)
274
if (reader.
CurrentState
.Options.CommentHandling == JsonCommentHandling.Allow)
299
if (reader.
CurrentState
.Options.CommentHandling == JsonCommentHandling.Allow)
355
lineNumber = reader.
CurrentState
._lineNumber;
356
bytePositionInLine = reader.
CurrentState
._bytePositionInLine;
490
readerOptions: reader.
CurrentState
.Options,
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.ReadHelper.cs (1)
152
jsonReaderState = reader.
CurrentState
;
System\Text\Json\ThrowHelper.cs (4)
380
long lineNumber = json.
CurrentState
._lineNumber;
381
long bytePositionInLine = json.
CurrentState
._bytePositionInLine;
405
message = SR.Format(SR.ArrayDepthTooLarge, json.
CurrentState
.Options.MaxDepth);
462
message = SR.Format(SR.ObjectDepthTooLarge, json.
CurrentState
.Options.MaxDepth);
System\Text\Json\ThrowHelper.Serialization.cs (4)
529
long lineNumber = reader.
CurrentState
._lineNumber;
532
long bytePositionInLine = reader.
CurrentState
._bytePositionInLine;
651
long lineNumber = reader.
CurrentState
._lineNumber;
652
long bytePositionInLine = reader.
CurrentState
._bytePositionInLine;