21 references to GetTypeInfo
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
26
=> context.
GetTypeInfo
(type) ?? throw new InvalidOperationException($"Unable to obtain the JsonTypeInfo for type '{type.FullName}' from the context '{context.GetType().FullName}'.");
Microsoft.AspNetCore.Http.Results (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
26
=> context.
GetTypeInfo
(type) ?? throw new InvalidOperationException($"Unable to obtain the JsonTypeInfo for type '{type.FullName}' from the context '{context.GetType().FullName}'.");
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
26
=> context.
GetTypeInfo
(type) ?? throw new InvalidOperationException($"Unable to obtain the JsonTypeInfo for type '{type.FullName}' from the context '{context.GetType().FullName}'.");
Microsoft.AspNetCore.Routing (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
26
=> context.
GetTypeInfo
(type) ?? throw new InvalidOperationException($"Unable to obtain the JsonTypeInfo for type '{type.FullName}' from the context '{context.GetType().FullName}'.");
System.Text.Json (17)
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
58
JsonTypeInfo? info = context.
GetTypeInfo
(inputType);
System\Text\Json\Serialization\JsonSerializer.Read.Document.cs (1)
173
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Read.Element.cs (1)
145
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Read.Node.cs (1)
136
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (1)
133
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method on the provided <paramref name="context"/>
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (2)
337
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method on the provided <paramref name="context"/>
384
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method on the provided <paramref name="context"/>
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (2)
351
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
405
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (1)
245
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method on the provided <paramref name="context"/>
System\Text\Json\Serialization\JsonSerializer.Write.ByteArray.cs (1)
123
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.Document.cs (1)
114
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (1)
114
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.Node.cs (1)
115
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (1)
133
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.Utf8JsonWriter.cs (1)
147
/// The <see cref="JsonSerializerContext.
GetTypeInfo
(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
117
return
GetTypeInfo
(type);