88 references to Null
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
232
case JsonTokenType.
Null
:
Microsoft.AspNetCore.Grpc.JsonTranscoding (3)
Internal\Json\EnumConverter.cs (1)
40
case JsonTokenType.
Null
:
Internal\Json\NullValueConverter.cs (1)
30
case JsonTokenType.
Null
:
Internal\Json\ValueConverter.cs (1)
53
case JsonTokenType.
Null
:
Microsoft.AspNetCore.Http.Connections.Common (2)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (2)
88
if (reader.TokenType == JsonTokenType.
Null
)
105
if (reader.TokenType == JsonTokenType.
Null
)
Microsoft.AspNetCore.OpenApi (4)
Schemas\OpenApiJsonSchema.Helpers.cs (4)
22
if (reader.TokenType == JsonTokenType.
Null
)
40
if (reader.TokenType == JsonTokenType.
Null
)
57
if (reader.TokenType == JsonTokenType.
Null
)
91
if (reader.TokenType == JsonTokenType.
Null
)
Microsoft.AspNetCore.SignalR.Common (2)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (2)
88
if (reader.TokenType == JsonTokenType.
Null
)
105
if (reader.TokenType == JsonTokenType.
Null
)
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (2)
88
if (reader.TokenType == JsonTokenType.
Null
)
105
if (reader.TokenType == JsonTokenType.
Null
)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (2)
88
if (reader.TokenType == JsonTokenType.
Null
)
105
if (reader.TokenType == JsonTokenType.
Null
)
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\Converters\NaturalObjectConverter.cs (1)
36
case JsonTokenType.
Null
:
Protocol\Converters\StringEnumConverter.cs (1)
44
else if (reader.TokenType == JsonTokenType.
Null
)
Protocol\Converters\SumConverter.cs (1)
188
if (reader.TokenType == JsonTokenType.
Null
)
Protocol\Internal\Converters\ObjectContentConverter.cs (1)
40
if (reader.TokenType == JsonTokenType.
Null
)
Microsoft.Extensions.DependencyModel (3)
Utf8JsonReaderExtensions.cs (3)
93
if (reader.TokenType == JsonTokenType.
Null
)
109
if (reader.TokenType == JsonTokenType.
Null
)
124
if (reader.TokenType == JsonTokenType.
Null
)
Microsoft.ML.SearchSpace (1)
Converter\ParameterConverter.cs (1)
39
case JsonTokenType.
Null
:
Microsoft.ML.SearchSpace.Tests (8)
ParameterTest.cs (3)
96
parameter["JTokenType"].AsType<JsonTokenType>().Should().Be(JsonTokenType.
Null
);
118
parameter["JTokenType"].AsType<JsonTokenType>().Should().Be(JsonTokenType.
Null
);
171
public JsonTokenType JTokenType { get; set; } = JsonTokenType.
Null
;
SearchSpaceTest.cs (5)
176
param.BasicSS.JTokenType.Should().Be(JsonTokenType.
Null
);
188
JTokenType = JsonTokenType.
Null
,
200
param.JTokenType.Should().Be(JsonTokenType.
Null
);
347
[Choice(new object[] { JsonTokenType.None, JsonTokenType.EndObject, JsonTokenType.StartArray, JsonTokenType.
Null
}, defaultValue: JsonTokenType.
Null
)]
System.Text.Json (56)
System\Text\Json\Document\JsonDocument.cs (4)
293
if (tokenType == JsonTokenType.
Null
)
826
case JsonTokenType.
Null
:
857
case JsonTokenType.
Null
:
1068
Debug.Assert(tokenType >= JsonTokenType.String && tokenType <= JsonTokenType.
Null
);
System\Text\Json\Document\JsonDocument.DbRow.cs (1)
63
Debug.Assert(jsonTokenType > JsonTokenType.None && jsonTokenType <= JsonTokenType.
Null
);
System\Text\Json\Document\JsonDocument.Parse.cs (3)
517
case JsonTokenType.
Null
:
683
Debug.Assert(tokenType == JsonTokenType.
Null
);
730
tokenType != JsonTokenType.
Null
&&
System\Text\Json\Document\JsonElement.cs (4)
1448
if (TokenType == JsonTokenType.
Null
)
1476
if (TokenType == JsonTokenType.
Null
)
1504
if (TokenType == JsonTokenType.
Null
)
1657
case JsonTokenType.
Null
:
System\Text\Json\JsonTokenType.cs (1)
19
/// Indicates that there is no value (as distinct from <see cref="
Null
"/>).
System\Text\Json\Reader\JsonReaderHelper.cs (2)
63
case JsonTokenType.
Null
:
76
(tokenType - JsonTokenType.String) <= (JsonTokenType.
Null
- JsonTokenType.String);
System\Text\Json\Reader\Utf8JsonReader.cs (3)
1074
return ConsumeLiteral(JsonConstants.NullValue, JsonTokenType.
Null
);
2570
JsonTokenType.
Null
=> nameof(JsonTokenType.
Null
),
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (1)
434
return ConsumeLiteralMultiSegment(JsonConstants.NullValue, JsonTokenType.
Null
);
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (5)
18
/// Returns <see langword="null" /> when <see cref="TokenType"/> is <see cref="JsonTokenType.
Null
"/>.
23
/// <see cref="JsonTokenType.
Null
"/>).
29
if (TokenType == JsonTokenType.
Null
)
56
/// Unlike <see cref="GetString"/>, this method does not support <see cref="JsonTokenType.
Null
"/>.
120
/// Unlike <see cref="GetString"/>, this method does not support <see cref="JsonTokenType.
Null
"/>.
System\Text\Json\Serialization\Converters\Collection\MemoryConverter.cs (1)
21
if (reader.TokenType is JsonTokenType.
Null
)
System\Text\Json\Serialization\Converters\Collection\ReadOnlyMemoryConverter.cs (1)
21
if (reader.TokenType is JsonTokenType.
Null
)
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (2)
36
if (!state.IsContinuation && reader.TokenType == JsonTokenType.
Null
)
85
if (reader.TokenType == JsonTokenType.
Null
)
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (2)
36
if (!state.IsContinuation && reader.TokenType == JsonTokenType.
Null
)
87
if (reader.TokenType == JsonTokenType.
Null
)
System\Text\Json\Serialization\Converters\Node\JsonArrayConverter.cs (1)
29
case JsonTokenType.
Null
:
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
52
case JsonTokenType.
Null
:
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (1)
54
case JsonTokenType.
Null
:
System\Text\Json\Serialization\Converters\Node\JsonValueConverter.cs (1)
25
if (reader.TokenType is JsonTokenType.
Null
)
System\Text\Json\Serialization\Converters\Value\ByteArrayConverter.cs (1)
12
if (reader.TokenType == JsonTokenType.
Null
)
System\Text\Json\Serialization\Converters\Value\MemoryByteConverter.cs (1)
15
return reader.TokenType is JsonTokenType.
Null
? default : reader.GetBytesFromBase64();
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (3)
30
if (!state.IsContinuation && reader.TokenType == JsonTokenType.
Null
)
64
if (reader.TokenType == JsonTokenType.
Null
)
87
if (reader.TokenType == JsonTokenType.
Null
)
System\Text\Json\Serialization\Converters\Value\ReadOnlyMemoryByteConverter.cs (1)
15
return reader.TokenType is JsonTokenType.
Null
? default : reader.GetBytesFromBase64();
System\Text\Json\Serialization\Converters\Value\UriConverter.cs (1)
14
return reader.TokenType is JsonTokenType.
Null
? null : ReadCore(ref reader);
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (1)
22
if (reader.TokenType is JsonTokenType.
Null
)
System\Text\Json\Serialization\JsonConverterOfT.cs (3)
62
/// and whether <see cref="JsonTokenType.
Null
"/> should be passed on deserialization.
151
if (reader.TokenType == JsonTokenType.
Null
&& !HandleNullOnRead && !state.IsContinuation)
546
if (!CanBePolymorphic && !(HandleNullOnRead && tokenType == JsonTokenType.
Null
))
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (1)
396
case JsonTokenType.
Null
:
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
857
if (reader.TokenType == JsonTokenType.
Null
)
906
if (JsonTypeInfo.ElementType == JsonTypeInfo.ObjectType && reader.TokenType == JsonTokenType.
Null
)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (2)
279
bool isNullToken = reader.TokenType == JsonTokenType.
Null
;
368
bool isNullToken = reader.TokenType == JsonTokenType.
Null
;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (5)
23
_tokenType = JsonTokenType.
Null
;
34
_tokenType = JsonTokenType.
Null
;
45
_tokenType = JsonTokenType.
Null
;
105
_tokenType = JsonTokenType.
Null
;
130
_tokenType = JsonTokenType.
Null
;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Literal.cs (1)
21
_tokenType = JsonTokenType.
Null
;