| File: Generated\361d1da7f942c932\ProjectDataBuildJsonSerializerContext.GetJsonTypeInfo.g.cs | |
| Project: Microsoft.NET.ProjectData.Tasks.csproj (Microsoft.NET.ProjectData.Tasks) |
// <auto-generated/> #nullable enable annotations #nullable disable warnings // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 namespace Microsoft.NET.ProjectData.Tasks { internal sealed partial class ProjectDataBuildJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver { /// <inheritdoc/> public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) { Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo); return typeInfo; } global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options) { if (type == typeof(bool)) { return Create_Boolean(options); } if (type == typeof(global::Microsoft.NET.ProjectData.ProjectDataBuildAttemptManifest)) { return Create_ProjectDataBuildAttemptManifest(options); } if (type == typeof(global::Microsoft.NET.ProjectData.ProjectDataBuildContextRecord)) { return Create_ProjectDataBuildContextRecord(options); } if (type == typeof(global::Microsoft.NET.ProjectData.ProjectDataBuildContextRecord[])) { return Create_ProjectDataBuildContextRecordArray(options); } if (type == typeof(global::Microsoft.NET.ProjectData.ProjectDataBuildDiagnosticRecord)) { return Create_ProjectDataBuildDiagnosticRecord(options); } if (type == typeof(global::Microsoft.NET.ProjectData.ProjectDataBuildDiagnosticRecord[])) { return Create_ProjectDataBuildDiagnosticRecordArray(options); } if (type == typeof(global::Microsoft.NET.ProjectData.ProjectDataBuildEventContextRecord)) { return Create_ProjectDataBuildEventContextRecord(options); } if (type == typeof(global::Microsoft.NET.ProjectData.ProjectDataBuildSubmissionRecord)) { return Create_ProjectDataBuildSubmissionRecord(options); } if (type == typeof(global::Microsoft.NET.ProjectData.ProjectDataBuildSubmissionRecord[])) { return Create_ProjectDataBuildSubmissionRecordArray(options); } if (type == typeof(int)) { return Create_Int32(options); } if (type == typeof(long)) { return Create_Int64(options); } if (type == typeof(string)) { return Create_String(options); } if (type == typeof(string[])) { return Create_StringArray(options); } return null; } } }