93 references to StartObject
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
198case JsonTokenType.StartObject:
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\ValueConverter.cs (1)
25case JsonTokenType.StartObject:
Microsoft.AspNetCore.Http.Connections.Common (3)
NegotiateProtocol.cs (1)
198if (reader.TokenType == JsonTokenType.StartObject)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (2)
23if (reader.TokenType != JsonTokenType.StartObject) 40case JsonTokenType.StartObject:
Microsoft.AspNetCore.OpenApi (3)
Schemas\OpenApiJsonSchema.cs (1)
21if (reader.TokenType != JsonTokenType.StartObject)
Schemas\OpenApiJsonSchema.Helpers.cs (2)
62if (reader.TokenType != JsonTokenType.StartObject) 147if (reader.TokenType == JsonTokenType.StartObject)
Microsoft.AspNetCore.SignalR.Common (2)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (2)
23if (reader.TokenType != JsonTokenType.StartObject) 40case JsonTokenType.StartObject:
Microsoft.AspNetCore.SignalR.Protocols.Json (4)
Protocol\JsonHubProtocol.cs (2)
485if (reader.TokenType != JsonTokenType.StartObject) 487throw new InvalidDataException($"Expected '{HeadersPropertyName}' to be of type {JsonTokenType.StartObject}.");
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (2)
23if (reader.TokenType != JsonTokenType.StartObject) 40case JsonTokenType.StartObject:
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (2)
23if (reader.TokenType != JsonTokenType.StartObject) 40case JsonTokenType.StartObject:
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Protocol\Converters\FormattingOptionsConverter.cs (1)
23Debug.Assert(reader.TokenType == JsonTokenType.StartObject);
Protocol\Converters\NaturalObjectConverter.cs (1)
66case JsonTokenType.StartObject:
Protocol\Converters\SumConverter.cs (1)
112JsonTokenType.StartObject
Protocol\Converters\TextDocumentSyncConverter.cs (1)
36else if (reader.TokenType == JsonTokenType.StartObject)
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (1)
17if (reader.TokenType == JsonTokenType.StartObject)
Protocol\Internal\Converters\ContainerElementConverter.cs (1)
21if (reader.TokenType == JsonTokenType.StartObject)
Protocol\Internal\Converters\ImageElementConverter.cs (1)
18if (reader.TokenType == JsonTokenType.StartObject)
Protocol\Internal\Converters\ImageIdConverter.cs (1)
17if (reader.TokenType == JsonTokenType.StartObject)
Protocol\Internal\Converters\ObjectContentConverter.cs (1)
45else if (reader.TokenType == JsonTokenType.StartObject)
Microsoft.Extensions.DependencyModel (1)
Utf8JsonReaderExtensions.cs (1)
52if (reader.TokenType != JsonTokenType.StartObject)
Microsoft.JSInterop (2)
Infrastructure\ByteArrayJsonConverter.cs (1)
38if (reader.TokenType != JsonTokenType.StartObject)
Infrastructure\DotNetDispatcher.cs (1)
241if (reader.TokenType == JsonTokenType.StartObject && IsIncorrectDotNetObjectRefUse(parameterType, reader))
Microsoft.ML.SearchSpace (1)
Converter\ParameterConverter.cs (1)
19case JsonTokenType.StartObject:
System.Text.Json (64)
System\Text\Json\Document\JsonDocument.cs (5)
149CheckExpectedType(JsonTokenType.StartObject, row.TokenType); 806case JsonTokenType.StartObject: 860case JsonTokenType.StartObject: 971if (tokenType == JsonTokenType.StartObject) 987int rowIndex = database.FindIndexOfFirstUnsetSizeOrLength(JsonTokenType.StartObject);
System\Text\Json\Document\JsonDocument.MetadataDb.cs (3)
220(tokenType == JsonTokenType.StartArray || tokenType == JsonTokenType.StartObject) == 309Debug.Assert(lookupType == JsonTokenType.StartObject || lookupType == JsonTokenType.StartArray); 359if (start.TokenType == JsonTokenType.StartObject)
System\Text\Json\Document\JsonDocument.Parse.cs (1)
475case JsonTokenType.StartObject:
System\Text\Json\Document\JsonDocument.TryGetProperty.cs (2)
17CheckExpectedType(JsonTokenType.StartObject, row.TokenType); 117CheckExpectedType(JsonTokenType.StartObject, row.TokenType);
System\Text\Json\Document\JsonElement.cs (3)
1610if (tokenType != JsonTokenType.StartObject) 1612ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType.StartObject, tokenType); 1665case JsonTokenType.StartObject:
System\Text\Json\Document\JsonElement.ObjectEnumerator.cs (1)
27Debug.Assert(target.TokenType == JsonTokenType.StartObject);
System\Text\Json\JsonHelpers.cs (1)
87if (tokenType is JsonTokenType.StartObject or JsonTokenType.StartArray)
System\Text\Json\Reader\JsonReaderHelper.cs (1)
57case JsonTokenType.StartObject:
System\Text\Json\Reader\Utf8JsonReader.cs (18)
110if (TokenType is JsonTokenType.StartArray or JsonTokenType.StartObject) 304/// When <see cref="TokenType"/> (originally, or after advancing) is <see cref="JsonTokenType.StartObject" /> or 334if (TokenType is JsonTokenType.StartObject or JsonTokenType.StartArray) 363/// When <see cref="TokenType"/> (originally, or after advancing) is <see cref="JsonTokenType.StartObject" /> or 412if (TokenType is not (JsonTokenType.StartObject or JsonTokenType.StartArray)) 749_tokenType = JsonTokenType.StartObject; 855if (_tokenType == JsonTokenType.StartObject) 876_tokenType = JsonTokenType.StartObject; 965_tokenType = JsonTokenType.StartObject; 1001_isNotPrimitive = _tokenType is JsonTokenType.StartObject or JsonTokenType.StartArray; 1845_tokenType = _inObject ? JsonTokenType.StartObject : JsonTokenType.StartArray; 1889if (_previousTokenType <= JsonTokenType.StartObject || _previousTokenType == JsonTokenType.StartArray || _trailingCommaBeforeComment) 2002else if (_tokenType == JsonTokenType.StartObject) 2017_tokenType = JsonTokenType.StartObject; 2164if (_tokenType == JsonTokenType.StartObject) 2184_tokenType = JsonTokenType.StartObject; 2574JsonTokenType.StartObject => nameof(JsonTokenType.StartObject),
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (10)
162if (_tokenType == JsonTokenType.StartObject) 185_tokenType = JsonTokenType.StartObject; 340_tokenType = JsonTokenType.StartObject; 372_isNotPrimitive = _tokenType is JsonTokenType.StartObject or JsonTokenType.StartArray; 1686_tokenType = _inObject ? JsonTokenType.StartObject : JsonTokenType.StartArray; 1730if (_previousTokenType <= JsonTokenType.StartObject || _previousTokenType == JsonTokenType.StartArray || _trailingCommaBeforeComment) 1852else if (_tokenType == JsonTokenType.StartObject) 1868_tokenType = JsonTokenType.StartObject; 2016if (_tokenType == JsonTokenType.StartObject) 2038_tokenType = JsonTokenType.StartObject;
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
130if (reader.TokenType != JsonTokenType.StartObject)
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (2)
87if (reader.TokenType != JsonTokenType.StartObject) 157if (reader.TokenType != JsonTokenType.StartObject)
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
48case JsonTokenType.StartObject:
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (1)
52case JsonTokenType.StartObject:
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (2)
30if (reader.TokenType != JsonTokenType.StartObject) 60if (reader.TokenType != JsonTokenType.StartObject)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (2)
43if (reader.TokenType != JsonTokenType.StartObject) 123if (reader.TokenType != JsonTokenType.StartObject)
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
517case JsonTokenType.StartObject:
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (1)
366case JsonTokenType.StartObject:
System\Text\Json\Writer\Utf8JsonWriter.cs (6)
477_tokenType = JsonTokenType.StartObject; 548Debug.Assert(_tokenType != JsonTokenType.StartObject); 613_tokenType = JsonTokenType.StartObject; 675_tokenType = JsonTokenType.StartObject; 830_tokenType = JsonTokenType.StartObject; 989if (_tokenType == JsonTokenType.StartObject || _tokenType == JsonTokenType.StartArray)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Helpers.cs (2)
41Debug.Assert(_tokenType != JsonTokenType.StartObject); 54Debug.Assert(_tokenType != JsonTokenType.StartObject);