21 references to JsonException
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (2)
514
var jsonException = new
JsonException
();
555
var jsonException = new
JsonException
();
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (4)
IntegrationTests\HeterogenousCollectionTests.cs (1)
88
throw new
JsonException
();
TestObjectModels\HeterogenousCollection.cs (3)
79
throw new
JsonException
();
93
throw new
JsonException
();
109
throw new
JsonException
();
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Protocol\Converters\NaturalObjectConverter.cs (1)
70
throw new
JsonException
();
Protocol\Internal\Converters\ClassifiedTextElementConverter.cs (1)
54
throw new
JsonException
();
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (2)
47
throw new
JsonException
();
53
throw new
JsonException
();
Protocol\Internal\Converters\ContainerElementConverter.cs (2)
30
return new ContainerElement(style ?? throw new
JsonException
(), objects);
64
throw new
JsonException
();
Protocol\Internal\Converters\ImageElementConverter.cs (1)
30
imageId ??= imageId ?? throw new
JsonException
();
Protocol\Internal\Converters\ObjectContentConverter.cs (1)
50
var type = data.GetProperty(TypeProperty).GetString() ?? throw new
JsonException
();
System.Text.Json (3)
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (2)
54
throw new
JsonException
();
75
throw new
JsonException
();
System\Text\Json\Serialization\Converters\Node\JsonValueConverter.cs (1)
61
throw new
JsonException
();
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataObjectTests.cs (4)
3032
throw new
JsonException
();
3041
throw new
JsonException
();
3066
throw new
JsonException
();
3070
throw new
JsonException
();