| File: _generated\1\OpenApiJsonSchemaContext.Decimal.g.cs | Web Access |
| Project: src\aspnetcore\src\OpenApi\src\Microsoft.AspNetCore.OpenApi.csproj (Microsoft.AspNetCore.OpenApi) |
// <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.OpenApi { internal sealed partial class OpenApiJsonSchemaContext { private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<decimal>? _Decimal; /// <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<decimal> Decimal #nullable enable annotations { get => _Decimal ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<decimal>)Options.GetTypeInfo(typeof(decimal)); } private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<decimal> Create_Decimal(global::System.Text.Json.JsonSerializerOptions options) { if (!TryGetTypeInfoForRuntimeCustomConverter<decimal>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<decimal> jsonTypeInfo)) { jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<decimal>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.DecimalConverter); } jsonTypeInfo.OriginatingResolver = this; return jsonTypeInfo; } } }