186 references to PropertyName
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
210case JsonTokenType.PropertyName:
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
539if (reader.TokenType == JsonTokenType.PropertyName)
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
25if (reader.TokenType == JsonTokenType.PropertyName)
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
25if (reader.TokenType == JsonTokenType.PropertyName)
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
25if (reader.TokenType == JsonTokenType.PropertyName)
Microsoft.AspNetCore.Http.Connections.Common (3)
NegotiateProtocol.cs (2)
169case JsonTokenType.PropertyName: 281case JsonTokenType.PropertyName:
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (1)
44case JsonTokenType.PropertyName:
Microsoft.AspNetCore.OpenApi (3)
Schemas\OpenApiJsonSchema.cs (1)
30case JsonTokenType.PropertyName:
Schemas\OpenApiJsonSchema.Helpers.cs (2)
71if (reader.TokenType != JsonTokenType.PropertyName) 154if (reader.TokenType != JsonTokenType.PropertyName)
Microsoft.AspNetCore.SignalR.Common (3)
Protocol\HandshakeProtocol.cs (2)
133if (reader.TokenType == JsonTokenType.PropertyName) 188if (reader.TokenType == JsonTokenType.PropertyName)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (1)
44case JsonTokenType.PropertyName:
Microsoft.AspNetCore.SignalR.Protocols.Json (3)
Protocol\JsonHubProtocol.cs (2)
157case JsonTokenType.PropertyName: 494case JsonTokenType.PropertyName:
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (1)
44case JsonTokenType.PropertyName:
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (1)
44case JsonTokenType.PropertyName:
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\Converters\FormattingOptionsConverter.cs (1)
72if (reader.TokenType != JsonTokenType.PropertyName)
Protocol\Internal\Converters\ClassifiedTextElementConverter.cs (1)
27if (reader.TokenType == JsonTokenType.PropertyName)
Protocol\Internal\Converters\ContainerElementConverter.cs (1)
33if (reader.TokenType == JsonTokenType.PropertyName)
Protocol\Internal\Converters\ImageElementConverter.cs (1)
31if (reader.TokenType == JsonTokenType.PropertyName)
Microsoft.Extensions.DependencyModel (1)
Utf8JsonReaderExtensions.cs (1)
16=> reader.TokenType == JsonTokenType.PropertyName;
Microsoft.JSInterop (5)
Implementation\JSObjectReferenceJsonWorker.cs (1)
29if (reader.TokenType == JsonTokenType.PropertyName)
Infrastructure\ByteArrayJsonConverter.cs (1)
43if (reader.Read() && reader.TokenType == JsonTokenType.PropertyName)
Infrastructure\DotNetDispatcher.cs (1)
271jsonReader.TokenType == JsonTokenType.PropertyName &&
Infrastructure\DotNetObjectReferenceJsonConverter.cs (1)
28if (reader.TokenType == JsonTokenType.PropertyName)
Infrastructure\JSStreamReferenceJsonConverter.cs (1)
31if (reader.TokenType == JsonTokenType.PropertyName)
Microsoft.ML.Tokenizers (1)
Utils\StringSpanOrdinalKey.cs (1)
158if (reader.TokenType == JsonTokenType.PropertyName)
System.Text.Json (157)
System\Text\Json\Document\JsonDocument.cs (9)
127Debug.Assert(!isPropertyName || row.TokenType is JsonTokenType.PropertyName); 258Debug.Assert(row.TokenType == JsonTokenType.PropertyName); 350isPropertyName ? JsonTokenType.PropertyName : JsonTokenType.String, 385return GetString(index - DbRow.Size, JsonTokenType.PropertyName)!; 393Debug.Assert(row.TokenType is JsonTokenType.PropertyName); 872case JsonTokenType.PropertyName: 883Debug.Assert(row.TokenType == JsonTokenType.String || row.TokenType == JsonTokenType.PropertyName); 914Debug.Assert(row.TokenType == JsonTokenType.PropertyName); 1048else if (tokenType == JsonTokenType.PropertyName)
System\Text\Json\Document\JsonDocument.DbRow.cs (1)
73internal bool IsSimpleValue => TokenType >= JsonTokenType.PropertyName;
System\Text\Json\Document\JsonDocument.Parse.cs (3)
353/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the 393/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the 452case JsonTokenType.PropertyName:
System\Text\Json\Document\JsonDocument.TryGetProperty.cs (4)
59Debug.Assert(row.TokenType != JsonTokenType.PropertyName); 73Debug.Assert(row.TokenType == JsonTokenType.PropertyName); 150Debug.Assert(row.TokenType != JsonTokenType.PropertyName); 164Debug.Assert(row.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Document\JsonElement.Parse.cs (2)
22/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the 87/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the
System\Text\Json\Document\JsonProperty.cs (3)
40/// This value's <see cref="Type"/> is not <see cref="JsonTokenType.PropertyName"/>. 60/// This value's <see cref="Type"/> is not <see cref="JsonTokenType.PropertyName"/>. 80/// This value's <see cref="Type"/> is not <see cref="JsonTokenType.PropertyName"/>.
System\Text\Json\JsonHelpers.cs (1)
23Debug.Assert(reader.TokenType is JsonTokenType.String or JsonTokenType.PropertyName);
System\Text\Json\Nodes\JsonNode.Parse.cs (1)
25/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the
System\Text\Json\Reader\Utf8JsonReader.cs (14)
303/// When <see cref="TokenType"/> is <see cref="JsonTokenType.PropertyName" />, the reader first moves to the property value. 326if (TokenType is JsonTokenType.PropertyName) 362/// When <see cref="TokenType"/> is <see cref="JsonTokenType.PropertyName" />, the reader first moves to the property value. 403if (TokenType is JsonTokenType.PropertyName) 440/// (i.e. other than <see cref="JsonTokenType.String"/> or <see cref="JsonTokenType.PropertyName"/>). 470/// (i.e. other than <see cref="JsonTokenType.String"/> or <see cref="JsonTokenType.PropertyName"/>). 511/// (i.e. other than <see cref="JsonTokenType.String"/> or <see cref="JsonTokenType.PropertyName"/>). 692return tokenType == JsonTokenType.PropertyName || tokenType == JsonTokenType.String; 895else if (_tokenType == JsonTokenType.PropertyName) 1275_tokenType = JsonTokenType.PropertyName; 2033else if (_tokenType == JsonTokenType.PropertyName) 2207else if (_tokenType == JsonTokenType.PropertyName) 2572JsonTokenType.PropertyName => nameof(JsonTokenType.PropertyName),
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (4)
206else if (_tokenType == JsonTokenType.PropertyName) 740_tokenType = JsonTokenType.PropertyName; 1885else if (_tokenType == JsonTokenType.PropertyName) 2063else if (_tokenType == JsonTokenType.PropertyName)
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (9)
22/// (i.e. other than <see cref="JsonTokenType.String"/>, <see cref="JsonTokenType.PropertyName"/> or 34if (TokenType != JsonTokenType.String && TokenType != JsonTokenType.PropertyName) 64/// (i.e. other than <see cref="JsonTokenType.String"/> or <see cref="JsonTokenType.PropertyName"/>. 71if (_tokenType is not (JsonTokenType.String or JsonTokenType.PropertyName)) 81Debug.Assert(_tokenType is JsonTokenType.String or JsonTokenType.PropertyName or JsonTokenType.Number); 128/// (i.e. other than <see cref="JsonTokenType.String"/> or <see cref="JsonTokenType.PropertyName"/>. 135if (_tokenType is not (JsonTokenType.String or JsonTokenType.PropertyName)) 145Debug.Assert(_tokenType is JsonTokenType.String or JsonTokenType.PropertyName or JsonTokenType.Number); 197Debug.Assert(_tokenType is JsonTokenType.String or JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
266Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (3)
113Debug.Assert(reader.TokenType == JsonTokenType.PropertyName); 139Debug.Assert(reader.TokenType == JsonTokenType.PropertyName); 246Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (2)
172Debug.Assert(tokenType == JsonTokenType.PropertyName); 290Debug.Assert(tokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (3)
94Debug.Assert(tempReader.TokenType == JsonTokenType.PropertyName); 300Debug.Assert(tokenType == JsonTokenType.PropertyName); 410Debug.Assert(tokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\BooleanConverter.cs (1)
25Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\ByteConverter.cs (1)
29Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\CharConverter.cs (2)
15if (reader.TokenType is not (JsonTokenType.String or JsonTokenType.PropertyName)) 49Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\DateOnlyConverter.cs (1)
27Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\DateTimeConverter.cs (1)
23Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\DateTimeOffsetConverter.cs (1)
23Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\DecimalConverter.cs (1)
28Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\DoubleConverter.cs (1)
29Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
238Debug.Assert(reader.TokenType is JsonTokenType.String or JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\GuidConverter.cs (1)
24Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (1)
74Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\Int128Converter.cs (1)
68Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\Int16Converter.cs (1)
30Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\Int32Converter.cs (1)
30Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\Int64Converter.cs (1)
29Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\JsonPrimitiveConverter.cs (1)
28if (reader.TokenType != JsonTokenType.PropertyName)
System\Text\Json\Serialization\Converters\Value\SByteConverter.cs (1)
29Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\SingleConverter.cs (1)
30Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\StringConverter.cs (1)
32Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (2)
29Debug.Assert(reader.TokenType == JsonTokenType.PropertyName); 35Debug.Assert(reader.TokenType is JsonTokenType.String or JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (2)
29Debug.Assert(reader.TokenType == JsonTokenType.PropertyName); 35Debug.Assert(reader.TokenType is JsonTokenType.String or JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\UInt128Converter.cs (1)
68Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\UInt16Converter.cs (1)
30Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\UInt32Converter.cs (1)
30Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\UInt64Converter.cs (1)
29Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\UriConverter.cs (1)
30Debug.Assert(reader.TokenType is JsonTokenType.PropertyName);
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (1)
37Debug.Assert(reader.TokenType is JsonTokenType.PropertyName or JsonTokenType.String);
System\Text\Json\Serialization\JsonConverterOfT.cs (2)
605Debug.Assert(reader.TokenType == JsonTokenType.PropertyName); 654if (originalDepth != writer.CurrentDepth || writer.TokenType != JsonTokenType.PropertyName)
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (2)
74Debug.Assert(reader.TokenType == JsonTokenType.PropertyName); 509Debug.Assert(reader.TokenType == JsonTokenType.PropertyName);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (6)
36/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the 90/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the 141/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the 190/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the 251/// is <see cref="JsonTokenType.PropertyName"/> or <see cref="JsonTokenType.None"/>, the 353case JsonTokenType.PropertyName:
System\Text\Json\ThrowHelper.cs (2)
595message = (tokenType == JsonTokenType.PropertyName) ? 612message = (tokenType == JsonTokenType.PropertyName) ?
System\Text\Json\Writer\Utf8JsonWriter.cs (4)
539if (_tokenType != JsonTokenType.PropertyName) 547Debug.Assert(_tokenType != JsonTokenType.PropertyName); 578if (_tokenType is not JsonTokenType.PropertyName and not JsonTokenType.None || _commentAfterNoneOrPropertyName) 962if (_bitStack.CurrentDepth <= 0 || _tokenType == JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (2)
305Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 355Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (2)
307Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 355Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (2)
306Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 354Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (2)
300Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 345Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (2)
304Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 349Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (2)
304Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 349Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (2)
308Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 357Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Helpers.cs (4)
39if (!_inObject || _tokenType == JsonTokenType.PropertyName) 52if (!_inObject || _tokenType == JsonTokenType.PropertyName) 111Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 184Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (2)
451Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 496Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (2)
376Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 421Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (10)
38_tokenType = JsonTokenType.PropertyName; 50_tokenType = JsonTokenType.PropertyName; 109_tokenType = JsonTokenType.PropertyName; 258_tokenType = JsonTokenType.PropertyName; 268_tokenType = JsonTokenType.PropertyName; 398Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 1537Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 1586Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 1638Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 1689Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (2)
385Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 430Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Bytes.cs (1)
121if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (2)
56if (_tokenType is JsonTokenType.PropertyName or JsonTokenType.None) 171if (_tokenType is JsonTokenType.PropertyName or JsonTokenType.None)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTime.cs (1)
86if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTimeOffset.cs (1)
87if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Decimal.cs (1)
82if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Double.cs (1)
86if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Float.cs (1)
86if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.FormattedNumber.cs (1)
88if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Guid.cs (1)
87if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Helpers.cs (2)
19if (_tokenType != JsonTokenType.PropertyName) 27Debug.Assert(_tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Literal.cs (1)
106if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.SignedNumber.cs (1)
95if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (2)
166if (_tokenType != JsonTokenType.PropertyName) 312if (_tokenType != JsonTokenType.PropertyName)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs (1)
97if (_tokenType != JsonTokenType.PropertyName)