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