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)
58JsonTypeInfo? info = context.GetTypeInfo(inputType);
System\Text\Json\Serialization\JsonSerializer.Read.Document.cs (1)
152/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Read.Element.cs (1)
136/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Read.Node.cs (1)
127/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (1)
124/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/>
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (2)
295/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/> 333/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/>
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (2)
321/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 366/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (1)
236/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/>
System\Text\Json\Serialization\JsonSerializer.Write.ByteArray.cs (1)
117/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.Document.cs (1)
108/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (1)
108/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.Node.cs (1)
109/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (1)
127/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializer.Write.Utf8JsonWriter.cs (1)
129/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
117return GetTypeInfo(type);