|
// <auto-generated/>
#nullable enable annotations
#nullable disable warnings
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0612, CS0618
namespace Microsoft.AspNetCore.SignalR.Tests
{
public partial class NativeAotTests
{
internal partial class AppJsonSerializerContext
{
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object>? _Object;
/// <summary>
/// Defines the source generated JSON serialization contract metadata for a given type.
/// </summary>
#nullable disable annotations // Marking the property type as nullable-oblivious.
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object> Object
#nullable enable annotations
{
get => _Object ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object>)Options.GetTypeInfo(typeof(object));
}
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object> Create_Object(global::System.Text.Json.JsonSerializerOptions options)
{
if (!TryGetTypeInfoForRuntimeCustomConverter<object>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object> jsonTypeInfo))
{
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<object>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.ObjectConverter);
}
jsonTypeInfo.OriginatingResolver = this;
return jsonTypeInfo;
}
}
}
}
|