diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89f826f..445736c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: steps: - name: "Clone Git repository" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Set version" id: set-version diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a7789f..baa7f2e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: - name: "Test .NET extract" run: | - dotnet test '${{ github.workspace }}/src/cs/tests/c2json.Tests.EndToEnd.Extract/c2json.Tests.EndToEnd.Extract.csproj' --nologo --verbosity minimal --configuration Release + dotnet test '${{ github.workspace }}/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/c2ffi.Tests.EndToEnd.Extract.csproj' --nologo --verbosity minimal --configuration Release - name: "Upload generated FFI files" uses: actions/upload-artifact@v3 @@ -90,5 +90,5 @@ jobs: - name: "Test .NET merge" run: | - dotnet test '${{ github.workspace }}/src/cs/tests/c2json.Tests.EndToEnd.Merge/c2json.Tests.EndToEnd.Merge.csproj' --nologo --verbosity minimal --configuration Release + dotnet test '${{ github.workspace }}/src/cs/tests/c2ffi.Tests.EndToEnd.Merge/c2ffi.Tests.EndToEnd.Merge.csproj' --nologo --verbosity minimal --configuration Release diff --git a/src/cs/c2json.sln b/src/cs/c2json.sln index 3679d50..10cacd5 100644 --- a/src/cs/c2json.sln +++ b/src/cs/c2json.sln @@ -1,18 +1,18 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2json.Tool", "production\c2json.Tool\c2json.Tool.csproj", "{3F9FAB9D-2FAD-4F1B-AC53-68F47CEDBC0E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2ffi.Tool", "production\c2ffi.Tool\c2ffi.Tool.csproj", "{3F9FAB9D-2FAD-4F1B-AC53-68F47CEDBC0E}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "production", "production", "{5958CFE5-69EC-4909-9325-15EC41A29A49}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{06F30AED-E9B8-4E52-ADF9-34A4FD08103D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2json.Tests.EndToEnd.Extract", "tests\c2json.Tests.EndToEnd.Extract\c2json.Tests.EndToEnd.Extract.csproj", "{0BCF52BC-43A0-4269-AD46-EFD744E68E2F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2ffi.Tests.EndToEnd.Extract", "tests\c2ffi.Tests.EndToEnd.Extract\c2ffi.Tests.EndToEnd.Extract.csproj", "{0BCF52BC-43A0-4269-AD46-EFD744E68E2F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2json.Data", "production\c2json.Data\c2json.Data.csproj", "{14BAF06A-F498-4B99-AD01-FA300EFFAB42}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2ffi.Data", "production\c2ffi.Data\c2ffi.Data.csproj", "{14BAF06A-F498-4B99-AD01-FA300EFFAB42}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2json.Tests.Library", "tests\c2json.Tests.Library\c2json.Tests.Library.csproj", "{D8933EFB-2F00-4356-8F69-4438A9711DA3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2ffi.Tests.Library", "tests\c2ffi.Tests.Library\c2ffi.Tests.Library.csproj", "{D8933EFB-2F00-4356-8F69-4438A9711DA3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2json.Tests.EndToEnd.Merge", "tests\c2json.Tests.EndToEnd.Merge\c2json.Tests.EndToEnd.Merge.csproj", "{CEC639D4-F1FD-40BD-81B7-B20B2DE18EA1}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c2ffi.Tests.EndToEnd.Merge", "tests\c2ffi.Tests.EndToEnd.Merge\c2ffi.Tests.EndToEnd.Merge.csproj", "{CEC639D4-F1FD-40BD-81B7-B20B2DE18EA1}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/cs/production/c2json.Data/CFfiCrossPlatform.cs b/src/cs/production/c2ffi.Data/CFfiCrossPlatform.cs similarity index 98% rename from src/cs/production/c2json.Data/CFfiCrossPlatform.cs rename to src/cs/production/c2ffi.Data/CFfiCrossPlatform.cs index 917fbca..81f0d62 100644 --- a/src/cs/production/c2json.Data/CFfiCrossPlatform.cs +++ b/src/cs/production/c2ffi.Data/CFfiCrossPlatform.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; using System.Text.Json.Serialization; -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/CFfiTargetPlatform.cs b/src/cs/production/c2ffi.Data/CFfiTargetPlatform.cs similarity index 98% rename from src/cs/production/c2json.Data/CFfiTargetPlatform.cs rename to src/cs/production/c2ffi.Data/CFfiTargetPlatform.cs index cbc19e1..dd6c63d 100644 --- a/src/cs/production/c2json.Data/CFfiTargetPlatform.cs +++ b/src/cs/production/c2ffi.Data/CFfiTargetPlatform.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; using System.Text.Json.Serialization; -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/CFunctionCallingConvention.cs b/src/cs/production/c2ffi.Data/CFunctionCallingConvention.cs similarity index 98% rename from src/cs/production/c2json.Data/CFunctionCallingConvention.cs rename to src/cs/production/c2ffi.Data/CFunctionCallingConvention.cs index db64d2e..eab797d 100644 --- a/src/cs/production/c2json.Data/CFunctionCallingConvention.cs +++ b/src/cs/production/c2ffi.Data/CFunctionCallingConvention.cs @@ -3,7 +3,7 @@ using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; /// /// Defines the types of calling conventions in C. diff --git a/src/cs/production/c2json.Data/CLocation.cs b/src/cs/production/c2ffi.Data/CLocation.cs similarity index 99% rename from src/cs/production/c2json.Data/CLocation.cs rename to src/cs/production/c2ffi.Data/CLocation.cs index 1b6001a..77c1d80 100644 --- a/src/cs/production/c2json.Data/CLocation.cs +++ b/src/cs/production/c2ffi.Data/CLocation.cs @@ -4,7 +4,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/CNodeKind.cs b/src/cs/production/c2ffi.Data/CNodeKind.cs similarity index 98% rename from src/cs/production/c2json.Data/CNodeKind.cs rename to src/cs/production/c2ffi.Data/CNodeKind.cs index b9b3b0b..a30c137 100644 --- a/src/cs/production/c2json.Data/CNodeKind.cs +++ b/src/cs/production/c2ffi.Data/CNodeKind.cs @@ -3,7 +3,7 @@ using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; /// /// Defines the kind of C nodes in the . diff --git a/src/cs/production/c2json.Data/CRecordKind.cs b/src/cs/production/c2ffi.Data/CRecordKind.cs similarity index 95% rename from src/cs/production/c2json.Data/CRecordKind.cs rename to src/cs/production/c2ffi.Data/CRecordKind.cs index cd0255e..53057a9 100644 --- a/src/cs/production/c2json.Data/CRecordKind.cs +++ b/src/cs/production/c2ffi.Data/CRecordKind.cs @@ -3,7 +3,7 @@ using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; /// /// Defines the kind of C records. diff --git a/src/cs/production/c2json.Data/CTypeInfo.cs b/src/cs/production/c2ffi.Data/CTypeInfo.cs similarity index 99% rename from src/cs/production/c2json.Data/CTypeInfo.cs rename to src/cs/production/c2ffi.Data/CTypeInfo.cs index 7129648..d0cf903 100644 --- a/src/cs/production/c2json.Data/CTypeInfo.cs +++ b/src/cs/production/c2ffi.Data/CTypeInfo.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Boolean.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Boolean.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Boolean.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Boolean.g.cs index 8ff7604..918dd4e 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Boolean.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Boolean.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnum.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnum.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnum.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnum.g.cs index 64a8e93..3916edf 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnum.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnum.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnum; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnum; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnum + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnum { - get => _CEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CEnum)); + get => _CEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CEnum)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnum(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnum(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CEnum(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CEnum(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CEnumPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[6]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnum), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnum), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnum)obj).IntegerTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnum)obj).IntegerTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnum)obj).IntegerTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnum)obj).IntegerTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "type_integer" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnum), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnum), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnum)obj).Values, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnum)obj).Values = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnum)obj).Values, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnum)obj).Values = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "values" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,7 +145,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumConstant.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumConstant.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumConstant.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumConstant.g.cs index 7642433..df2592f 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumConstant.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumConstant.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnumConstant; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnumConstant; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnumConstant + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnumConstant { - get => _CEnumConstant ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CEnumConstant)); + get => _CEnumConstant ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CEnumConstant)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnumConstant(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnumConstant(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CEnumConstant(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CEnumConstant(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CEnumConstantPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumConstant), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumConstant), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumConstant)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumConstant)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumConstant), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumConstant), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumConstant)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumConstant)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumConstant), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumConstant), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumConstant)obj).Value, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumConstant)obj).Value = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).Value, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).Value = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -102,15 +102,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,7 +164,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumValue.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumValue.g.cs similarity index 72% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumValue.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumValue.g.cs index 7a71887..8738dc6 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumValue.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CEnumValue.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnumValue; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnumValue; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnumValue + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnumValue { - get => _CEnumValue ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CEnumValue)); + get => _CEnumValue ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CEnumValue)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnumValue(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnumValue(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CEnumValue(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CEnumValue(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CEnumValuePropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumValue), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumValue), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumValue)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumValue)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumValue)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumValue)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -69,10 +69,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumValue), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumValue), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumValue)obj).Value, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumValue)obj).Value = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumValue)obj).Value, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumValue)obj).Value = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -88,10 +88,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFfiCrossPlatform.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFfiCrossPlatform.g.cs similarity index 60% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFfiCrossPlatform.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFfiCrossPlatform.g.cs index d692128..4ffba45 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFfiCrossPlatform.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFfiCrossPlatform.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFfiCrossPlatform; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFfiCrossPlatform; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFfiCrossPlatform + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFfiCrossPlatform { - get => _CFfiCrossPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CFfiCrossPlatform)); + get => _CFfiCrossPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CFfiCrossPlatform)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFfiCrossPlatform(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFfiCrossPlatform(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.CFfiCrossPlatform(), + ObjectCreator = () => new global::c2ffi.Data.CFfiCrossPlatform(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFfiCrossPlatformPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[10]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).Platforms, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).Platforms = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Platforms, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Platforms = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "platforms" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).MacroObjects, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).MacroObjects = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).MacroObjects, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).MacroObjects = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "macroObjects" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).Variables, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).Variables = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Variables, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Variables = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "variables" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).Functions, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).Functions = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Functions, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Functions = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "functions" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info3); - var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).Records, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).Records = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Records, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Records = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -138,17 +138,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "records" }; - properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info4); + properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info4); - var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).Enums, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).Enums = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Enums, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).Enums = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -157,17 +157,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "enums" }; - properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info5); + properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info5); - var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).EnumConstants, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).EnumConstants = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).EnumConstants, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).EnumConstants = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -176,17 +176,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "enumConstants" }; - properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info6); + properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info6); - var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).TypeAliases, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).TypeAliases = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).TypeAliases, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).TypeAliases = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -195,17 +195,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "typeAliases" }; - properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info7); + properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info7); - var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).OpaqueTypes, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).OpaqueTypes = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).OpaqueTypes, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).OpaqueTypes = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -214,17 +214,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "opaqueTypes" }; - properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info8); + properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info8); - var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiCrossPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiCrossPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiCrossPlatform)obj).FunctionPointers, - Setter = static (obj, value) => ((global::c2json.Data.CFfiCrossPlatform)obj).FunctionPointers = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiCrossPlatform)obj).FunctionPointers, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiCrossPlatform)obj).FunctionPointers = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -233,7 +233,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "functionPointers" }; - properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info9); + properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info9); return properties; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunction.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunction.g.cs similarity index 65% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunction.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunction.g.cs index e1fa3d6..c8fcd72 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunction.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunction.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunction; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunction; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunction + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunction { - get => _CFunction ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CFunction)); + get => _CFunction ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CFunction)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunction(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunction(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CFunction(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CFunction(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFunctionPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[7]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunction), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunction), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunction)obj).CallingConvention, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunction)obj).CallingConvention = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunction)obj).CallingConvention, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunction)obj).CallingConvention = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "calling_convention" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunction), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunction), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunction)obj).ReturnTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunction)obj).ReturnTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunction)obj).ReturnTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunction)obj).ReturnTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "return_type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunction), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunction), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunction)obj).Parameters, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunction)obj).Parameters = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunction)obj).Parameters, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunction)obj).Parameters = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "parameters" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,7 +164,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionCallingConvention.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionCallingConvention.g.cs similarity index 50% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionCallingConvention.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionCallingConvention.g.cs index 46fa8dc..7848ea7 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionCallingConvention.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionCallingConvention.g.cs @@ -6,25 +6,25 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionCallingConvention; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionCallingConvention; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionCallingConvention + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionCallingConvention { - get => _CFunctionCallingConvention ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CFunctionCallingConvention)); + get => _CFunctionCallingConvention ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CFunctionCallingConvention)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionCallingConvention(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionCallingConvention(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionParameter.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionParameter.g.cs similarity index 66% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionParameter.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionParameter.g.cs index eefd17e..125859a 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionParameter.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionParameter.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionParameter; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionParameter; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionParameter + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionParameter { - get => _CFunctionParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CFunctionParameter)); + get => _CFunctionParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CFunctionParameter)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionParameter(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionParameter(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CFunctionParameter(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CFunctionParameter(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFunctionParameterPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionParameter), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionParameter), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionParameter)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionParameter)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionParameter)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionParameter)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionParameter), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionParameter), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionParameter)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionParameter)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionParameter)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionParameter)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,7 +145,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointer.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointer.g.cs similarity index 64% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointer.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointer.g.cs index f2ac9de..f9532fa 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointer.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointer.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionPointer; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionPointer; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionPointer + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionPointer { - get => _CFunctionPointer ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CFunctionPointer)); + get => _CFunctionPointer ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CFunctionPointer)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionPointer(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionPointer(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CFunctionPointer(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CFunctionPointer(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFunctionPointerPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[7]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointer), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointer), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointer)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointer)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "type" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointer), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointer), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointer)obj).ReturnTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointer)obj).ReturnTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).ReturnTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).ReturnTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "return_type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointer), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointer), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointer)obj).Parameters, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointer)obj).Parameters = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).Parameters, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).Parameters = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "parameters" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,7 +164,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointerParameter.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointerParameter.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointerParameter.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointerParameter.g.cs index b9a3317..a64deaa 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointerParameter.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CFunctionPointerParameter.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionPointerParameter; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionPointerParameter; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionPointerParameter + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionPointerParameter { - get => _CFunctionPointerParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CFunctionPointerParameter)); + get => _CFunctionPointerParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CFunctionPointerParameter)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionPointerParameter(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionPointerParameter(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CFunctionPointerParameter(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CFunctionPointerParameter(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFunctionPointerParameterPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointerParameter), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointerParameter), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointerParameter)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointerParameter)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointerParameter)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointerParameter)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointerParameter), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointerParameter), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointerParameter)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointerParameter)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointerParameter)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointerParameter)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CLocation.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CLocation.g.cs similarity index 74% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CLocation.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CLocation.g.cs index 7a49ab0..e73c4cd 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CLocation.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CLocation.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CLocation; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CLocation; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CLocation + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CLocation { - get => _CLocation ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CLocation)); + get => _CLocation ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CLocation)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CLocation(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CLocation(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.CLocation(), + ObjectCreator = () => new global::c2ffi.Data.CLocation(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CLocationPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.CLocation)obj).FileName, - Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).FileName = value!, + Getter = static obj => ((global::c2ffi.Data.CLocation)obj).FileName, + Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).FileName = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -69,10 +69,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.CLocation)obj).FilePath, - Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).FilePath = value!, + Getter = static obj => ((global::c2ffi.Data.CLocation)obj).FilePath, + Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).FilePath = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -88,7 +88,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, Getter = null, Setter = null, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.CLocation)obj).LineNumber, - Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).LineNumber = value!, + Getter = static obj => ((global::c2ffi.Data.CLocation)obj).LineNumber, + Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).LineNumber = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.CLocation)obj).LineColumn, - Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).LineColumn = value!, + Getter = static obj => ((global::c2ffi.Data.CLocation)obj).LineColumn, + Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).LineColumn = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CMacroObject.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CMacroObject.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CMacroObject.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CMacroObject.g.cs index ed6f9c5..3638692 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CMacroObject.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CMacroObject.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CMacroObject; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CMacroObject; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CMacroObject + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CMacroObject { - get => _CMacroObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CMacroObject)); + get => _CMacroObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CMacroObject)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CMacroObject(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CMacroObject(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CMacroObject(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CMacroObject(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CMacroObjectPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[6]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CMacroObject), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CMacroObject), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CMacroObject)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CMacroObject)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CMacroObject)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CMacroObject)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "type" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CMacroObject), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CMacroObject), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CMacroObject)obj).Value, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CMacroObject)obj).Value = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CMacroObject)obj).Value, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CMacroObject)obj).Value = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -83,15 +83,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,7 +145,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CNodeKind.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CNodeKind.g.cs similarity index 56% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CNodeKind.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CNodeKind.g.cs index 22c811d..154ccc9 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CNodeKind.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CNodeKind.g.cs @@ -6,25 +6,25 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CNodeKind; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CNodeKind; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CNodeKind + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CNodeKind { - get => _CNodeKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CNodeKind)); + get => _CNodeKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CNodeKind)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CNodeKind(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CNodeKind(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.COpaqueType.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.COpaqueType.g.cs similarity index 69% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.COpaqueType.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.COpaqueType.g.cs index dc504d7..39ccf02 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.COpaqueType.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.COpaqueType.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _COpaqueType; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _COpaqueType; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo COpaqueType + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo COpaqueType { - get => _COpaqueType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.COpaqueType)); + get => _COpaqueType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.COpaqueType)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_COpaqueType(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_COpaqueType(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.COpaqueType(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.COpaqueType(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => COpaqueTypePropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.COpaqueType), + DeclaringType = typeof(global::c2ffi.Data.Nodes.COpaqueType), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.COpaqueType)obj).SizeOf, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.COpaqueType)obj).SizeOf = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.COpaqueType)obj).SizeOf, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.COpaqueType)obj).SizeOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecord.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecord.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecord.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecord.g.cs index a95c77c..db19799 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecord.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecord.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecord; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecord; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecord + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecord { - get => _CRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CRecord)); + get => _CRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CRecord)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecord(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecord(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CRecord(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CRecord(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CRecordPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[8]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecord), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecord), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecord)obj).RecordKind, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecord)obj).RecordKind = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecord)obj).RecordKind, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecord)obj).RecordKind = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "record_kind" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecord), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecord), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecord)obj).SizeOf, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecord)obj).SizeOf = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecord)obj).SizeOf, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecord)obj).SizeOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -88,10 +88,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecord), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecord), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecord)obj).AlignOf, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecord)obj).AlignOf = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecord)obj).AlignOf, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecord)obj).AlignOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -102,15 +102,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecord), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecord), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecord)obj).Fields, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecord)obj).Fields = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecord)obj).Fields, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecord)obj).Fields = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "fields" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info3); - var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -138,17 +138,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info4); + properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info4); var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,10 +164,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -183,7 +183,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordField.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordField.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordField.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordField.g.cs index 296af29..dd7cc00 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordField.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordField.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecordField; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecordField; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecordField + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecordField { - get => _CRecordField ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CRecordField)); + get => _CRecordField ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CRecordField)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecordField(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecordField(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CRecordField(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CRecordField(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CRecordFieldPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecordField), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecordField), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecordField)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecordField)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecordField)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecordField)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecordField), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecordField), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecordField)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecordField)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecordField)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecordField)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecordField), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecordField), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecordField)obj).OffsetOf, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecordField)obj).OffsetOf = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecordField)obj).OffsetOf, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecordField)obj).OffsetOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -102,15 +102,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,7 +164,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordKind.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordKind.g.cs similarity index 55% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordKind.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordKind.g.cs index 888f0a2..cdbff82 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordKind.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CRecordKind.g.cs @@ -6,25 +6,25 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecordKind; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecordKind; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecordKind + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecordKind { - get => _CRecordKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CRecordKind)); + get => _CRecordKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CRecordKind)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecordKind(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecordKind(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeAlias.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeAlias.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeAlias.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeAlias.g.cs index 0eb4408..f3dcbb6 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeAlias.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeAlias.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CTypeAlias; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CTypeAlias; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CTypeAlias + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CTypeAlias { - get => _CTypeAlias ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CTypeAlias)); + get => _CTypeAlias ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CTypeAlias)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CTypeAlias(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CTypeAlias(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CTypeAlias(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CTypeAlias(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CTypeAliasPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[5]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CTypeAlias), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CTypeAlias), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CTypeAlias)obj).UnderlyingTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CTypeAlias)obj).UnderlyingTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CTypeAlias)obj).UnderlyingTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CTypeAlias)obj).UnderlyingTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "underlyingType" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeInfo.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeInfo.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeInfo.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeInfo.g.cs index dc37fc9..714bdf7 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeInfo.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CTypeInfo.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CTypeInfo; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CTypeInfo; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CTypeInfo + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CTypeInfo { - get => _CTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CTypeInfo)); + get => _CTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CTypeInfo)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CTypeInfo(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CTypeInfo(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.CTypeInfo(), + ObjectCreator = () => new global::c2ffi.Data.CTypeInfo(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CTypeInfoPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).NodeKind, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).NodeKind = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).NodeKind, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).NodeKind = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "kind" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).SizeOf, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).SizeOf = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).SizeOf, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).SizeOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).AlignOf, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).AlignOf = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).AlignOf, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).AlignOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).ElementSize, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).ElementSize = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).ElementSize, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).ElementSize = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).ArraySizeOf, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).ArraySizeOf = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).ArraySizeOf, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).ArraySizeOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,10 +164,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).IsAnonymous, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).IsAnonymous = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).IsAnonymous, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).IsAnonymous = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -183,10 +183,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).IsConst, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).IsConst = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).IsConst, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).IsConst = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -197,15 +197,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info7); - var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -214,17 +214,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info8); + properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info8); - var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).InnerTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).InnerTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).InnerTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).InnerTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -233,7 +233,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "innerType" }; - properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info9); + properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info9); return properties; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CVariable.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CVariable.g.cs similarity index 69% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CVariable.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CVariable.g.cs index 34cdd1e..d8576a2 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CVariable.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.CVariable.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CVariable; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CVariable; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CVariable + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CVariable { - get => _CVariable ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CVariable)); + get => _CVariable ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CVariable)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CVariable(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CVariable(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CVariable(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CVariable(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CVariablePropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CVariable), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CVariable), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CVariable)obj).Type, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CVariable)obj).Type = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CVariable)obj).Type, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CVariable)obj).Type = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiCrossPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiCrossPlatform JsonPropertyName = "location" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.GetJsonTypeInfo.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.GetJsonTypeInfo.g.cs similarity index 69% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.GetJsonTypeInfo.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.GetJsonTypeInfo.g.cs index 20b3fcb..569ebaf 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.GetJsonTypeInfo.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.GetJsonTypeInfo.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver { @@ -27,143 +27,143 @@ public partial class JsonSerializerContextCFfiCrossPlatform : global::System.Tex { return Create_NullableBoolean(options); } - if (type == typeof(global::c2json.Data.CFfiCrossPlatform)) + if (type == typeof(global::c2ffi.Data.CFfiCrossPlatform)) { return Create_CFfiCrossPlatform(options); } - if (type == typeof(global::c2json.Data.CFunctionCallingConvention)) + if (type == typeof(global::c2ffi.Data.CFunctionCallingConvention)) { return Create_CFunctionCallingConvention(options); } - if (type == typeof(global::c2json.Data.CLocation)) + if (type == typeof(global::c2ffi.Data.CLocation)) { return Create_CLocation(options); } - if (type == typeof(global::c2json.Data.CLocation?)) + if (type == typeof(global::c2ffi.Data.CLocation?)) { return Create_NullableCLocation(options); } - if (type == typeof(global::c2json.Data.CNodeKind)) + if (type == typeof(global::c2ffi.Data.CNodeKind)) { return Create_CNodeKind(options); } - if (type == typeof(global::c2json.Data.CRecordKind)) + if (type == typeof(global::c2ffi.Data.CRecordKind)) { return Create_CRecordKind(options); } - if (type == typeof(global::c2json.Data.CTypeInfo)) + if (type == typeof(global::c2ffi.Data.CTypeInfo)) { return Create_CTypeInfo(options); } - if (type == typeof(global::c2json.Data.Nodes.CEnum)) + if (type == typeof(global::c2ffi.Data.Nodes.CEnum)) { return Create_CEnum(options); } - if (type == typeof(global::c2json.Data.Nodes.CEnumConstant)) + if (type == typeof(global::c2ffi.Data.Nodes.CEnumConstant)) { return Create_CEnumConstant(options); } - if (type == typeof(global::c2json.Data.Nodes.CEnumValue)) + if (type == typeof(global::c2ffi.Data.Nodes.CEnumValue)) { return Create_CEnumValue(options); } - if (type == typeof(global::c2json.Data.Nodes.CFunction)) + if (type == typeof(global::c2ffi.Data.Nodes.CFunction)) { return Create_CFunction(options); } - if (type == typeof(global::c2json.Data.Nodes.CFunctionParameter)) + if (type == typeof(global::c2ffi.Data.Nodes.CFunctionParameter)) { return Create_CFunctionParameter(options); } - if (type == typeof(global::c2json.Data.Nodes.CFunctionPointer)) + if (type == typeof(global::c2ffi.Data.Nodes.CFunctionPointer)) { return Create_CFunctionPointer(options); } - if (type == typeof(global::c2json.Data.Nodes.CFunctionPointerParameter)) + if (type == typeof(global::c2ffi.Data.Nodes.CFunctionPointerParameter)) { return Create_CFunctionPointerParameter(options); } - if (type == typeof(global::c2json.Data.Nodes.CMacroObject)) + if (type == typeof(global::c2ffi.Data.Nodes.CMacroObject)) { return Create_CMacroObject(options); } - if (type == typeof(global::c2json.Data.Nodes.COpaqueType)) + if (type == typeof(global::c2ffi.Data.Nodes.COpaqueType)) { return Create_COpaqueType(options); } - if (type == typeof(global::c2json.Data.Nodes.CRecord)) + if (type == typeof(global::c2ffi.Data.Nodes.CRecord)) { return Create_CRecord(options); } - if (type == typeof(global::c2json.Data.Nodes.CRecordField)) + if (type == typeof(global::c2ffi.Data.Nodes.CRecordField)) { return Create_CRecordField(options); } - if (type == typeof(global::c2json.Data.Nodes.CTypeAlias)) + if (type == typeof(global::c2ffi.Data.Nodes.CTypeAlias)) { return Create_CTypeAlias(options); } - if (type == typeof(global::c2json.Data.Nodes.CVariable)) + if (type == typeof(global::c2ffi.Data.Nodes.CVariable)) { return Create_CVariable(options); } - if (type == typeof(global::c2json.Data.TargetPlatform)) + if (type == typeof(global::c2ffi.Data.TargetPlatform)) { return Create_TargetPlatform(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayCEnumValue(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayCFunctionParameter(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayCFunctionPointerParameter(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayCRecordField(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayTargetPlatform(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCEnum(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCEnumConstant(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCFunction(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCFunctionPointer(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCMacroObject(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCOpaqueType(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCRecord(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCTypeAlias(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCVariable(options); } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCEnumValue.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCEnumValue.g.cs similarity index 61% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCEnumValue.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCEnumValue.g.cs index ac3f629..fda3a3f 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCEnumValue.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCEnumValue.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCEnumValue; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCEnumValue; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCEnumValue + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCEnumValue { - get => _ImmutableArrayCEnumValue ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayCEnumValue ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCEnumValue(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCEnumValue(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.Nodes.CEnumValue>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.Nodes.CEnumValue>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionParameter.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionParameter.g.cs similarity index 59% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionParameter.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionParameter.g.cs index ab43911..dbfe22e 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionParameter.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionParameter.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCFunctionParameter; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCFunctionParameter; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCFunctionParameter + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCFunctionParameter { - get => _ImmutableArrayCFunctionParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayCFunctionParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCFunctionParameter(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCFunctionParameter(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.Nodes.CFunctionParameter>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.Nodes.CFunctionParameter>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionPointerParameter.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionPointerParameter.g.cs similarity index 56% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionPointerParameter.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionPointerParameter.g.cs index 6957c56..43c7d17 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionPointerParameter.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCFunctionPointerParameter.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCFunctionPointerParameter; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCFunctionPointerParameter; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCFunctionPointerParameter + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCFunctionPointerParameter { - get => _ImmutableArrayCFunctionPointerParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayCFunctionPointerParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCFunctionPointerParameter(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCFunctionPointerParameter(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.Nodes.CFunctionPointerParameter>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.Nodes.CFunctionPointerParameter>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCRecordField.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCRecordField.g.cs similarity index 60% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCRecordField.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCRecordField.g.cs index e0a2bb9..d5a9020 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCRecordField.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayCRecordField.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCRecordField; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCRecordField; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCRecordField + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCRecordField { - get => _ImmutableArrayCRecordField ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayCRecordField ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCRecordField(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCRecordField(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.Nodes.CRecordField>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.Nodes.CRecordField>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayTargetPlatform.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayTargetPlatform.g.cs similarity index 61% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayTargetPlatform.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayTargetPlatform.g.cs index cba45b1..8bf6029 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayTargetPlatform.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableArrayTargetPlatform.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayTargetPlatform; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayTargetPlatform; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayTargetPlatform + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayTargetPlatform { - get => _ImmutableArrayTargetPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayTargetPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayTargetPlatform(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayTargetPlatform(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.TargetPlatform>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.TargetPlatform>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnum.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnum.g.cs similarity index 65% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnum.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnum.g.cs index 4b99739..9cbfac7 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnum.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnum.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCEnum; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCEnum; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCEnum + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCEnum { - get => _ImmutableDictionaryStringCEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCEnum(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCEnum(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CEnum>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CEnum>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnumConstant.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnumConstant.g.cs similarity index 62% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnumConstant.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnumConstant.g.cs index f664707..effb51c 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnumConstant.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCEnumConstant.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCEnumConstant; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCEnumConstant; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCEnumConstant + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCEnumConstant { - get => _ImmutableDictionaryStringCEnumConstant ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCEnumConstant ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCEnumConstant(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCEnumConstant(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CEnumConstant>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CEnumConstant>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunction.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunction.g.cs similarity index 64% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunction.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunction.g.cs index a6a6e5f..ee5c87c 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunction.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunction.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCFunction; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCFunction; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCFunction + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCFunction { - get => _ImmutableDictionaryStringCFunction ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCFunction ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCFunction(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCFunction(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CFunction>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CFunction>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs similarity index 61% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs index e0c35e7..c766a9c 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCFunctionPointer; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCFunctionPointer; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCFunctionPointer + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCFunctionPointer { - get => _ImmutableDictionaryStringCFunctionPointer ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCFunctionPointer ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCFunctionPointer(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCFunctionPointer(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CFunctionPointer>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CFunctionPointer>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCMacroObject.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCMacroObject.g.cs similarity index 63% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCMacroObject.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCMacroObject.g.cs index 0953b02..20e5997 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCMacroObject.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCMacroObject.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCMacroObject; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCMacroObject; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCMacroObject + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCMacroObject { - get => _ImmutableDictionaryStringCMacroObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCMacroObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCMacroObject(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCMacroObject(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CMacroObject>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CMacroObject>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCOpaqueType.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCOpaqueType.g.cs similarity index 63% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCOpaqueType.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCOpaqueType.g.cs index b16e61f..cc18604 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCOpaqueType.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCOpaqueType.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCOpaqueType; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCOpaqueType; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCOpaqueType + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCOpaqueType { - get => _ImmutableDictionaryStringCOpaqueType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCOpaqueType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCOpaqueType(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCOpaqueType(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.COpaqueType>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.COpaqueType>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCRecord.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCRecord.g.cs similarity index 64% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCRecord.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCRecord.g.cs index b676300..f7733ca 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCRecord.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCRecord.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCRecord; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCRecord; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCRecord + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCRecord { - get => _ImmutableDictionaryStringCRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCRecord(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCRecord(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CRecord>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CRecord>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCTypeAlias.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCTypeAlias.g.cs similarity index 63% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCTypeAlias.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCTypeAlias.g.cs index 23c53b6..7f056ae 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCTypeAlias.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCTypeAlias.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCTypeAlias; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCTypeAlias; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCTypeAlias + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCTypeAlias { - get => _ImmutableDictionaryStringCTypeAlias ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCTypeAlias ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCTypeAlias(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCTypeAlias(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CTypeAlias>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CTypeAlias>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCVariable.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCVariable.g.cs similarity index 64% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCVariable.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCVariable.g.cs index cf8242f..bcdf5a2 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCVariable.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.ImmutableDictionaryStringCVariable.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCVariable; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCVariable; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCVariable + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCVariable { - get => _ImmutableDictionaryStringCVariable ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCVariable ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCVariable(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCVariable(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CVariable>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CVariable>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int32.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int32.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int32.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int32.g.cs index dd7f28b..e2244a5 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int32.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int32.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int64.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int64.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int64.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int64.g.cs index 4fd7b1c..d41a977 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int64.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.Int64.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableBoolean.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableBoolean.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableBoolean.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableBoolean.g.cs index feb6a5f..6c21cc6 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableBoolean.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableBoolean.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableCLocation.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableCLocation.g.cs similarity index 59% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableCLocation.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableCLocation.g.cs index 2fb5909..ac1171d 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableCLocation.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableCLocation.g.cs @@ -6,26 +6,26 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _NullableCLocation; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _NullableCLocation; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo NullableCLocation + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo NullableCLocation { - get => _NullableCLocation ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CLocation?)); + get => _NullableCLocation ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CLocation?)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_NullableCLocation(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_NullableCLocation(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter(options); - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, converter); + global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter(options); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, converter); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableInt32.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableInt32.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableInt32.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableInt32.g.cs index 54091ac..ef869e7 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableInt32.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.NullableInt32.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.PropertyNames.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.PropertyNames.g.cs similarity index 88% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.PropertyNames.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.PropertyNames.g.cs index d07607b..9c94fa6 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.PropertyNames.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.PropertyNames.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.String.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.String.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.String.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.String.g.cs index a42f81b..0366ad9 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.String.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.String.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.TargetPlatform.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.TargetPlatform.g.cs similarity index 55% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.TargetPlatform.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.TargetPlatform.g.cs index 4ef508f..93993cd 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.TargetPlatform.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.TargetPlatform.g.cs @@ -6,26 +6,26 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiCrossPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _TargetPlatform; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _TargetPlatform; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo TargetPlatform + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo TargetPlatform { - get => _TargetPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.TargetPlatform)); + get => _TargetPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.TargetPlatform)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_TargetPlatform(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_TargetPlatform(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::c2json.Data.TargetPlatform), new global::c2json.Data.Serialization.TargetPlatformJsonConverter(), options); - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo (options, converter); + global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::c2ffi.Data.TargetPlatform), new global::c2ffi.Data.Serialization.TargetPlatformJsonConverter(), options); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo (options, converter); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.g.cs similarity index 93% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.g.cs index 5da284e..b7977d6 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiCrossPlatform.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Text.Json.SourceGeneration", "8.0.9.3103")] public partial class JsonSerializerContextCFfiCrossPlatform @@ -21,7 +21,7 @@ public partial class JsonSerializerContextCFfiCrossPlatform /// /// The default associated with a default instance. /// - public static global::c2json.Data.Serialization.JsonSerializerContextCFfiCrossPlatform Default { get; } = new global::c2json.Data.Serialization.JsonSerializerContextCFfiCrossPlatform(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions)); + public static global::c2ffi.Data.Serialization.JsonSerializerContextCFfiCrossPlatform Default { get; } = new global::c2ffi.Data.Serialization.JsonSerializerContextCFfiCrossPlatform(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions)); /// /// The source-generated options associated with this context. diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Boolean.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Boolean.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Boolean.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Boolean.g.cs index 765bef9..252ac6d 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Boolean.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Boolean.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnum.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnum.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnum.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnum.g.cs index 37a8adf..631b719 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnum.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnum.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnum; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnum; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnum + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnum { - get => _CEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CEnum)); + get => _CEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CEnum)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnum(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnum(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CEnum(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CEnum(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CEnumPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[6]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnum), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnum), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnum)obj).IntegerTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnum)obj).IntegerTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnum)obj).IntegerTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnum)obj).IntegerTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "type_integer" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnum), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnum), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnum)obj).Values, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnum)obj).Values = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnum)obj).Values, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnum)obj).Values = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "values" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,7 +145,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumConstant.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumConstant.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumConstant.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumConstant.g.cs index 5d8e774..2a67430 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumConstant.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumConstant.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnumConstant; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnumConstant; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnumConstant + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnumConstant { - get => _CEnumConstant ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CEnumConstant)); + get => _CEnumConstant ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CEnumConstant)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnumConstant(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnumConstant(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CEnumConstant(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CEnumConstant(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CEnumConstantPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumConstant), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumConstant), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumConstant)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumConstant)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumConstant), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumConstant), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumConstant)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumConstant)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumConstant), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumConstant), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumConstant)obj).Value, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumConstant)obj).Value = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).Value, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumConstant)obj).Value = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -102,15 +102,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,7 +164,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumValue.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumValue.g.cs similarity index 72% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumValue.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumValue.g.cs index 83f6183..6d8a577 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumValue.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CEnumValue.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnumValue; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CEnumValue; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnumValue + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CEnumValue { - get => _CEnumValue ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CEnumValue)); + get => _CEnumValue ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CEnumValue)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnumValue(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CEnumValue(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CEnumValue(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CEnumValue(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CEnumValuePropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumValue), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumValue), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumValue)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumValue)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumValue)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumValue)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -69,10 +69,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CEnumValue), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CEnumValue), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CEnumValue)obj).Value, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CEnumValue)obj).Value = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CEnumValue)obj).Value, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CEnumValue)obj).Value = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -88,10 +88,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFfiTargetPlatform.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFfiTargetPlatform.g.cs similarity index 61% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFfiTargetPlatform.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFfiTargetPlatform.g.cs index b370fee..e1ec108 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFfiTargetPlatform.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFfiTargetPlatform.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFfiTargetPlatform; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFfiTargetPlatform; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFfiTargetPlatform + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFfiTargetPlatform { - get => _CFfiTargetPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CFfiTargetPlatform)); + get => _CFfiTargetPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CFfiTargetPlatform)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFfiTargetPlatform(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFfiTargetPlatform(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.CFfiTargetPlatform(), + ObjectCreator = () => new global::c2ffi.Data.CFfiTargetPlatform(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFfiTargetPlatformPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).FileName, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).FileName = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).FileName, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).FileName = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).PlatformRequested, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).PlatformRequested = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).PlatformRequested, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).PlatformRequested = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "platformRequested" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).PlatformActual, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).PlatformActual = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).PlatformActual, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).PlatformActual = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "platformActual" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).MacroObjects, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).MacroObjects = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).MacroObjects, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).MacroObjects = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "macroObjects" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info3); - var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).Variables, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).Variables = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).Variables, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).Variables = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -138,17 +138,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "variables" }; - properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info4); + properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info4); - var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).Functions, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).Functions = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).Functions, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).Functions = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -157,17 +157,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "functions" }; - properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info5); + properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info5); - var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).Records, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).Records = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).Records, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).Records = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -176,17 +176,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "records" }; - properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info6); + properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info6); - var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).Enums, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).Enums = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).Enums, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).Enums = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -195,17 +195,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "enums" }; - properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info7); + properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info7); - var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).EnumConstants, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).EnumConstants = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).EnumConstants, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).EnumConstants = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -214,17 +214,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "enumConstants" }; - properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info8); + properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info8); - var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).TypeAliases, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).TypeAliases = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).TypeAliases, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).TypeAliases = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -233,17 +233,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "typeAliases" }; - properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info9); + properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info9); - var info10 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info10 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).OpaqueTypes, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).OpaqueTypes = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).OpaqueTypes, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).OpaqueTypes = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -252,17 +252,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "opaqueTypes" }; - properties[10] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info10); + properties[10] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info10); - var info11 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info11 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CFfiTargetPlatform), + DeclaringType = typeof(global::c2ffi.Data.CFfiTargetPlatform), Converter = null, - Getter = static obj => ((global::c2json.Data.CFfiTargetPlatform)obj).FunctionPointers, - Setter = static (obj, value) => ((global::c2json.Data.CFfiTargetPlatform)obj).FunctionPointers = value!, + Getter = static obj => ((global::c2ffi.Data.CFfiTargetPlatform)obj).FunctionPointers, + Setter = static (obj, value) => ((global::c2ffi.Data.CFfiTargetPlatform)obj).FunctionPointers = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -271,7 +271,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "functionPointers" }; - properties[11] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info11); + properties[11] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info11); return properties; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunction.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunction.g.cs similarity index 65% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunction.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunction.g.cs index 46aefa1..2b69f7a 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunction.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunction.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunction; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunction; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunction + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunction { - get => _CFunction ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CFunction)); + get => _CFunction ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CFunction)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunction(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunction(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CFunction(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CFunction(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFunctionPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[7]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunction), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunction), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunction)obj).CallingConvention, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunction)obj).CallingConvention = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunction)obj).CallingConvention, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunction)obj).CallingConvention = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "calling_convention" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunction), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunction), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunction)obj).ReturnTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunction)obj).ReturnTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunction)obj).ReturnTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunction)obj).ReturnTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "return_type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunction), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunction), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunction)obj).Parameters, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunction)obj).Parameters = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunction)obj).Parameters, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunction)obj).Parameters = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "parameters" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,7 +164,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionCallingConvention.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionCallingConvention.g.cs similarity index 50% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionCallingConvention.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionCallingConvention.g.cs index 3400477..9ab4958 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionCallingConvention.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionCallingConvention.g.cs @@ -6,25 +6,25 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionCallingConvention; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionCallingConvention; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionCallingConvention + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionCallingConvention { - get => _CFunctionCallingConvention ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CFunctionCallingConvention)); + get => _CFunctionCallingConvention ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CFunctionCallingConvention)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionCallingConvention(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionCallingConvention(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionParameter.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionParameter.g.cs similarity index 66% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionParameter.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionParameter.g.cs index 8e10e71..eb00915 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionParameter.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionParameter.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionParameter; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionParameter; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionParameter + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionParameter { - get => _CFunctionParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CFunctionParameter)); + get => _CFunctionParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CFunctionParameter)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionParameter(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionParameter(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CFunctionParameter(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CFunctionParameter(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFunctionParameterPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionParameter), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionParameter), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionParameter)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionParameter)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionParameter)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionParameter)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionParameter), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionParameter), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionParameter)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionParameter)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionParameter)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionParameter)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,7 +145,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointer.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointer.g.cs similarity index 64% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointer.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointer.g.cs index 390424c..f5004b1 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointer.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointer.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionPointer; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionPointer; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionPointer + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionPointer { - get => _CFunctionPointer ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CFunctionPointer)); + get => _CFunctionPointer ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CFunctionPointer)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionPointer(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionPointer(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CFunctionPointer(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CFunctionPointer(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFunctionPointerPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[7]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointer), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointer), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointer)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointer)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "type" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointer), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointer), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointer)obj).ReturnTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointer)obj).ReturnTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).ReturnTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).ReturnTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "return_type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointer), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointer), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointer)obj).Parameters, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointer)obj).Parameters = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).Parameters, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointer)obj).Parameters = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "parameters" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,7 +164,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointerParameter.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointerParameter.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointerParameter.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointerParameter.g.cs index 764fcf6..5118d40 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointerParameter.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CFunctionPointerParameter.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionPointerParameter; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CFunctionPointerParameter; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionPointerParameter + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CFunctionPointerParameter { - get => _CFunctionPointerParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CFunctionPointerParameter)); + get => _CFunctionPointerParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CFunctionPointerParameter)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionPointerParameter(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CFunctionPointerParameter(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CFunctionPointerParameter(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CFunctionPointerParameter(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CFunctionPointerParameterPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointerParameter), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointerParameter), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointerParameter)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointerParameter)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointerParameter)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointerParameter)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CFunctionPointerParameter), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CFunctionPointerParameter), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CFunctionPointerParameter)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CFunctionPointerParameter)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CFunctionPointerParameter)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CFunctionPointerParameter)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CLocation.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CLocation.g.cs similarity index 74% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CLocation.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CLocation.g.cs index 6b1f8c7..2e14e3c 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CLocation.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CLocation.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CLocation; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CLocation; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CLocation + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CLocation { - get => _CLocation ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CLocation)); + get => _CLocation ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CLocation)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CLocation(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CLocation(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.CLocation(), + ObjectCreator = () => new global::c2ffi.Data.CLocation(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CLocationPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.CLocation)obj).FileName, - Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).FileName = value!, + Getter = static obj => ((global::c2ffi.Data.CLocation)obj).FileName, + Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).FileName = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -69,10 +69,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.CLocation)obj).FilePath, - Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).FilePath = value!, + Getter = static obj => ((global::c2ffi.Data.CLocation)obj).FilePath, + Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).FilePath = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -88,7 +88,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, Getter = null, Setter = null, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.CLocation)obj).LineNumber, - Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).LineNumber = value!, + Getter = static obj => ((global::c2ffi.Data.CLocation)obj).LineNumber, + Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).LineNumber = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CLocation), + DeclaringType = typeof(global::c2ffi.Data.CLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.CLocation)obj).LineColumn, - Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).LineColumn = value!, + Getter = static obj => ((global::c2ffi.Data.CLocation)obj).LineColumn, + Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox(obj).LineColumn = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CMacroObject.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CMacroObject.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CMacroObject.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CMacroObject.g.cs index c5ade6f..ec5deb8 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CMacroObject.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CMacroObject.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CMacroObject; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CMacroObject; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CMacroObject + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CMacroObject { - get => _CMacroObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CMacroObject)); + get => _CMacroObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CMacroObject)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CMacroObject(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CMacroObject(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CMacroObject(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CMacroObject(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CMacroObjectPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[6]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CMacroObject), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CMacroObject), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CMacroObject)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CMacroObject)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CMacroObject)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CMacroObject)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "type" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CMacroObject), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CMacroObject), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CMacroObject)obj).Value, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CMacroObject)obj).Value = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CMacroObject)obj).Value, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CMacroObject)obj).Value = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -83,15 +83,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); - var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -100,17 +100,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); + properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,7 +145,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CNodeKind.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CNodeKind.g.cs similarity index 56% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CNodeKind.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CNodeKind.g.cs index 24858d8..888e73e 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CNodeKind.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CNodeKind.g.cs @@ -6,25 +6,25 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CNodeKind; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CNodeKind; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CNodeKind + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CNodeKind { - get => _CNodeKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CNodeKind)); + get => _CNodeKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CNodeKind)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CNodeKind(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CNodeKind(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.COpaqueType.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.COpaqueType.g.cs similarity index 69% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.COpaqueType.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.COpaqueType.g.cs index 9ba28d3..b975bd6 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.COpaqueType.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.COpaqueType.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _COpaqueType; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _COpaqueType; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo COpaqueType + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo COpaqueType { - get => _COpaqueType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.COpaqueType)); + get => _COpaqueType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.COpaqueType)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_COpaqueType(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_COpaqueType(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.COpaqueType(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.COpaqueType(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => COpaqueTypePropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.COpaqueType), + DeclaringType = typeof(global::c2ffi.Data.Nodes.COpaqueType), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.COpaqueType)obj).SizeOf, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.COpaqueType)obj).SizeOf = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.COpaqueType)obj).SizeOf, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.COpaqueType)obj).SizeOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecord.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecord.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecord.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecord.g.cs index 6669319..4e10e53 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecord.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecord.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecord; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecord; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecord + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecord { - get => _CRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CRecord)); + get => _CRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CRecord)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecord(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecord(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CRecord(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CRecord(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CRecordPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[8]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecord), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecord), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecord)obj).RecordKind, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecord)obj).RecordKind = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecord)obj).RecordKind, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecord)obj).RecordKind = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "record_kind" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecord), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecord), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecord)obj).SizeOf, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecord)obj).SizeOf = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecord)obj).SizeOf, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecord)obj).SizeOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -88,10 +88,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecord), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecord), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecord)obj).AlignOf, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecord)obj).AlignOf = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecord)obj).AlignOf, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecord)obj).AlignOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -102,15 +102,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues> { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecord), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecord), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecord)obj).Fields, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecord)obj).Fields = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecord)obj).Fields, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecord)obj).Fields = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "fields" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo>(options, info3); - var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -138,17 +138,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info4); + properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info4); var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,10 +164,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -183,7 +183,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordField.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordField.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordField.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordField.g.cs index 16ed828..68f0a5a 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordField.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordField.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecordField; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecordField; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecordField + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecordField { - get => _CRecordField ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CRecordField)); + get => _CRecordField ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CRecordField)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecordField(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecordField(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CRecordField(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CRecordField(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CRecordFieldPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecordField), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecordField), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecordField)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecordField)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecordField)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecordField)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecordField), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecordField), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecordField)obj).TypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecordField)obj).TypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecordField)obj).TypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecordField)obj).TypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "type" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CRecordField), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CRecordField), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CRecordField)obj).OffsetOf, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CRecordField)obj).OffsetOf = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CRecordField)obj).OffsetOf, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CRecordField)obj).OffsetOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -102,15 +102,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info2); - var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -119,17 +119,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); + properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info3); var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,7 +164,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordKind.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordKind.g.cs similarity index 55% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordKind.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordKind.g.cs index 858aedb..f7d97a6 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordKind.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CRecordKind.g.cs @@ -6,25 +6,25 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecordKind; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CRecordKind; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecordKind + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CRecordKind { - get => _CRecordKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CRecordKind)); + get => _CRecordKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CRecordKind)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecordKind(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CRecordKind(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter(options)); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeAlias.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeAlias.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeAlias.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeAlias.g.cs index e4acde4..deaa431 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeAlias.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeAlias.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CTypeAlias; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CTypeAlias; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CTypeAlias + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CTypeAlias { - get => _CTypeAlias ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CTypeAlias)); + get => _CTypeAlias ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CTypeAlias)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CTypeAlias(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CTypeAlias(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CTypeAlias(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CTypeAlias(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CTypeAliasPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -45,15 +45,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[5]; - var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CTypeAlias), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CTypeAlias), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CTypeAlias)obj).UnderlyingTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CTypeAlias)obj).UnderlyingTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CTypeAlias)obj).UnderlyingTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CTypeAlias)obj).UnderlyingTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -62,17 +62,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "underlyingType" }; - properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); + properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeInfo.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeInfo.g.cs similarity index 67% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeInfo.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeInfo.g.cs index 0815665..8ecbfc5 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeInfo.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CTypeInfo.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CTypeInfo; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CTypeInfo; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CTypeInfo + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CTypeInfo { - get => _CTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CTypeInfo)); + get => _CTypeInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CTypeInfo)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CTypeInfo(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CTypeInfo(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.CTypeInfo(), + ObjectCreator = () => new global::c2ffi.Data.CTypeInfo(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CTypeInfoPropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).Name, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).Name = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).Name, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).Name = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).NodeKind, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).NodeKind = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).NodeKind, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).NodeKind = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "kind" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).SizeOf, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).SizeOf = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).SizeOf, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).SizeOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).AlignOf, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).AlignOf = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).AlignOf, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).AlignOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,10 +126,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).ElementSize, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).ElementSize = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).ElementSize, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).ElementSize = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -145,10 +145,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).ArraySizeOf, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).ArraySizeOf = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).ArraySizeOf, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).ArraySizeOf = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -164,10 +164,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).IsAnonymous, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).IsAnonymous = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).IsAnonymous, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).IsAnonymous = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -183,10 +183,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).IsConst, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).IsConst = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).IsConst, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).IsConst = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -197,15 +197,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info7); - var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -214,17 +214,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info8); + properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info8); - var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.CTypeInfo), + DeclaringType = typeof(global::c2ffi.Data.CTypeInfo), Converter = null, - Getter = static obj => ((global::c2json.Data.CTypeInfo)obj).InnerTypeInfo, - Setter = static (obj, value) => ((global::c2json.Data.CTypeInfo)obj).InnerTypeInfo = value!, + Getter = static obj => ((global::c2ffi.Data.CTypeInfo)obj).InnerTypeInfo, + Setter = static (obj, value) => ((global::c2ffi.Data.CTypeInfo)obj).InnerTypeInfo = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -233,7 +233,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "innerType" }; - properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info9); + properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info9); return properties; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CVariable.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CVariable.g.cs similarity index 69% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CVariable.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CVariable.g.cs index 88554a8..ca33166 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CVariable.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.CVariable.g.cs @@ -6,34 +6,34 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CVariable; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _CVariable; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CVariable + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo CVariable { - get => _CVariable ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.Nodes.CVariable)); + get => _CVariable ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.Nodes.CVariable)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CVariable(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_CVariable(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues + var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues { - ObjectCreator = () => new global::c2json.Data.Nodes.CVariable(), + ObjectCreator = () => new global::c2ffi.Data.Nodes.CVariable(), ObjectWithParameterizedConstructorCreator = null, PropertyMetadataInitializer = _ => CVariablePropInit(options), ConstructorParameterMetadataInitializer = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo(options, objectInfo); jsonTypeInfo.NumberHandling = null; } @@ -50,10 +50,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CVariable), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CVariable), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CVariable)obj).Type, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CVariable)obj).Type = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CVariable)obj).Type, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CVariable)obj).Type = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -64,15 +64,15 @@ public partial class JsonSerializerContextCFfiTargetPlatform properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info0); - var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues + var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNodeWithLocation), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNodeWithLocation), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNodeWithLocation)obj).Location = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNodeWithLocation)obj).Location = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -81,17 +81,17 @@ public partial class JsonSerializerContextCFfiTargetPlatform JsonPropertyName = "location" }; - properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); + properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo(options, info1); var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues { IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).Comment, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).Comment = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).Comment, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).Comment = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -107,10 +107,10 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, - Getter = static obj => ((global::c2json.Data.Nodes.CNode)obj).IsSystem, - Setter = static (obj, value) => ((global::c2json.Data.Nodes.CNode)obj).IsSystem = value!, + Getter = static obj => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem, + Setter = static (obj, value) => ((global::c2ffi.Data.Nodes.CNode)obj).IsSystem = value!, IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, @@ -126,7 +126,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform IsProperty = true, IsPublic = true, IsVirtual = false, - DeclaringType = typeof(global::c2json.Data.Nodes.CNode), + DeclaringType = typeof(global::c2ffi.Data.Nodes.CNode), Converter = null, Getter = null, Setter = null, diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.GetJsonTypeInfo.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.GetJsonTypeInfo.g.cs similarity index 69% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.GetJsonTypeInfo.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.GetJsonTypeInfo.g.cs index 1e7bba8..76b278f 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.GetJsonTypeInfo.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.GetJsonTypeInfo.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver { @@ -27,139 +27,139 @@ public partial class JsonSerializerContextCFfiTargetPlatform : global::System.Te { return Create_NullableBoolean(options); } - if (type == typeof(global::c2json.Data.CFfiTargetPlatform)) + if (type == typeof(global::c2ffi.Data.CFfiTargetPlatform)) { return Create_CFfiTargetPlatform(options); } - if (type == typeof(global::c2json.Data.CFunctionCallingConvention)) + if (type == typeof(global::c2ffi.Data.CFunctionCallingConvention)) { return Create_CFunctionCallingConvention(options); } - if (type == typeof(global::c2json.Data.CLocation)) + if (type == typeof(global::c2ffi.Data.CLocation)) { return Create_CLocation(options); } - if (type == typeof(global::c2json.Data.CLocation?)) + if (type == typeof(global::c2ffi.Data.CLocation?)) { return Create_NullableCLocation(options); } - if (type == typeof(global::c2json.Data.CNodeKind)) + if (type == typeof(global::c2ffi.Data.CNodeKind)) { return Create_CNodeKind(options); } - if (type == typeof(global::c2json.Data.CRecordKind)) + if (type == typeof(global::c2ffi.Data.CRecordKind)) { return Create_CRecordKind(options); } - if (type == typeof(global::c2json.Data.CTypeInfo)) + if (type == typeof(global::c2ffi.Data.CTypeInfo)) { return Create_CTypeInfo(options); } - if (type == typeof(global::c2json.Data.Nodes.CEnum)) + if (type == typeof(global::c2ffi.Data.Nodes.CEnum)) { return Create_CEnum(options); } - if (type == typeof(global::c2json.Data.Nodes.CEnumConstant)) + if (type == typeof(global::c2ffi.Data.Nodes.CEnumConstant)) { return Create_CEnumConstant(options); } - if (type == typeof(global::c2json.Data.Nodes.CEnumValue)) + if (type == typeof(global::c2ffi.Data.Nodes.CEnumValue)) { return Create_CEnumValue(options); } - if (type == typeof(global::c2json.Data.Nodes.CFunction)) + if (type == typeof(global::c2ffi.Data.Nodes.CFunction)) { return Create_CFunction(options); } - if (type == typeof(global::c2json.Data.Nodes.CFunctionParameter)) + if (type == typeof(global::c2ffi.Data.Nodes.CFunctionParameter)) { return Create_CFunctionParameter(options); } - if (type == typeof(global::c2json.Data.Nodes.CFunctionPointer)) + if (type == typeof(global::c2ffi.Data.Nodes.CFunctionPointer)) { return Create_CFunctionPointer(options); } - if (type == typeof(global::c2json.Data.Nodes.CFunctionPointerParameter)) + if (type == typeof(global::c2ffi.Data.Nodes.CFunctionPointerParameter)) { return Create_CFunctionPointerParameter(options); } - if (type == typeof(global::c2json.Data.Nodes.CMacroObject)) + if (type == typeof(global::c2ffi.Data.Nodes.CMacroObject)) { return Create_CMacroObject(options); } - if (type == typeof(global::c2json.Data.Nodes.COpaqueType)) + if (type == typeof(global::c2ffi.Data.Nodes.COpaqueType)) { return Create_COpaqueType(options); } - if (type == typeof(global::c2json.Data.Nodes.CRecord)) + if (type == typeof(global::c2ffi.Data.Nodes.CRecord)) { return Create_CRecord(options); } - if (type == typeof(global::c2json.Data.Nodes.CRecordField)) + if (type == typeof(global::c2ffi.Data.Nodes.CRecordField)) { return Create_CRecordField(options); } - if (type == typeof(global::c2json.Data.Nodes.CTypeAlias)) + if (type == typeof(global::c2ffi.Data.Nodes.CTypeAlias)) { return Create_CTypeAlias(options); } - if (type == typeof(global::c2json.Data.Nodes.CVariable)) + if (type == typeof(global::c2ffi.Data.Nodes.CVariable)) { return Create_CVariable(options); } - if (type == typeof(global::c2json.Data.TargetPlatform)) + if (type == typeof(global::c2ffi.Data.TargetPlatform)) { return Create_TargetPlatform(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayCEnumValue(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayCFunctionParameter(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayCFunctionPointerParameter(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) + if (type == typeof(global::System.Collections.Immutable.ImmutableArray)) { return Create_ImmutableArrayCRecordField(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCEnum(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCEnumConstant(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCFunction(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCFunctionPointer(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCMacroObject(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCOpaqueType(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCRecord(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCTypeAlias(options); } - if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) + if (type == typeof(global::System.Collections.Immutable.ImmutableDictionary)) { return Create_ImmutableDictionaryStringCVariable(options); } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCEnumValue.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCEnumValue.g.cs similarity index 61% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCEnumValue.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCEnumValue.g.cs index a971715..0516891 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCEnumValue.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCEnumValue.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCEnumValue; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCEnumValue; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCEnumValue + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCEnumValue { - get => _ImmutableArrayCEnumValue ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayCEnumValue ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCEnumValue(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCEnumValue(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.Nodes.CEnumValue>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.Nodes.CEnumValue>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionParameter.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionParameter.g.cs similarity index 59% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionParameter.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionParameter.g.cs index f5e55ee..0642bee 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionParameter.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionParameter.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCFunctionParameter; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCFunctionParameter; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCFunctionParameter + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCFunctionParameter { - get => _ImmutableArrayCFunctionParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayCFunctionParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCFunctionParameter(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCFunctionParameter(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.Nodes.CFunctionParameter>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.Nodes.CFunctionParameter>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionPointerParameter.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionPointerParameter.g.cs similarity index 57% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionPointerParameter.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionPointerParameter.g.cs index 8b45271..c71a71a 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionPointerParameter.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCFunctionPointerParameter.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCFunctionPointerParameter; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCFunctionPointerParameter; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCFunctionPointerParameter + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCFunctionPointerParameter { - get => _ImmutableArrayCFunctionPointerParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayCFunctionPointerParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCFunctionPointerParameter(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCFunctionPointerParameter(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.Nodes.CFunctionPointerParameter>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.Nodes.CFunctionPointerParameter>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCRecordField.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCRecordField.g.cs similarity index 60% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCRecordField.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCRecordField.g.cs index a237ecc..91d4ae1 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCRecordField.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableArrayCRecordField.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCRecordField; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableArrayCRecordField; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCRecordField + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableArrayCRecordField { - get => _ImmutableArrayCRecordField ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); + get => _ImmutableArrayCRecordField ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableArray)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCRecordField(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableArrayCRecordField(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { - ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), + ObjectCreator = () => new global::System.Collections.Immutable.ImmutableArray(), SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2json.Data.Nodes.CRecordField>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo, global::c2ffi.Data.Nodes.CRecordField>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableArray.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnum.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnum.g.cs similarity index 65% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnum.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnum.g.cs index 3c59840..b26c2a7 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnum.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnum.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCEnum; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCEnum; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCEnum + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCEnum { - get => _ImmutableDictionaryStringCEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCEnum(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCEnum(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CEnum>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CEnum>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnumConstant.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnumConstant.g.cs similarity index 62% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnumConstant.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnumConstant.g.cs index 939c66d..0eed2f4 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnumConstant.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCEnumConstant.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCEnumConstant; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCEnumConstant; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCEnumConstant + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCEnumConstant { - get => _ImmutableDictionaryStringCEnumConstant ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCEnumConstant ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCEnumConstant(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCEnumConstant(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CEnumConstant>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CEnumConstant>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunction.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunction.g.cs similarity index 64% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunction.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunction.g.cs index 60ead7e..6f0deba 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunction.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunction.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCFunction; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCFunction; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCFunction + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCFunction { - get => _ImmutableDictionaryStringCFunction ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCFunction ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCFunction(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCFunction(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CFunction>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CFunction>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs similarity index 61% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs index ddf57e5..0d15b7f 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCFunctionPointer.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCFunctionPointer; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCFunctionPointer; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCFunctionPointer + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCFunctionPointer { - get => _ImmutableDictionaryStringCFunctionPointer ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCFunctionPointer ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCFunctionPointer(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCFunctionPointer(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CFunctionPointer>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CFunctionPointer>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCMacroObject.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCMacroObject.g.cs similarity index 63% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCMacroObject.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCMacroObject.g.cs index 525cfd8..7b46a9f 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCMacroObject.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCMacroObject.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCMacroObject; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCMacroObject; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCMacroObject + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCMacroObject { - get => _ImmutableDictionaryStringCMacroObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCMacroObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCMacroObject(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCMacroObject(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CMacroObject>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CMacroObject>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCOpaqueType.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCOpaqueType.g.cs similarity index 63% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCOpaqueType.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCOpaqueType.g.cs index 8939488..db97813 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCOpaqueType.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCOpaqueType.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCOpaqueType; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCOpaqueType; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCOpaqueType + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCOpaqueType { - get => _ImmutableDictionaryStringCOpaqueType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCOpaqueType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCOpaqueType(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCOpaqueType(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.COpaqueType>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.COpaqueType>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCRecord.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCRecord.g.cs similarity index 64% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCRecord.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCRecord.g.cs index 414329d..d442bbd 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCRecord.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCRecord.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCRecord; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCRecord; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCRecord + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCRecord { - get => _ImmutableDictionaryStringCRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCRecord(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCRecord(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CRecord>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CRecord>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCTypeAlias.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCTypeAlias.g.cs similarity index 63% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCTypeAlias.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCTypeAlias.g.cs index acc24b0..83202dd 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCTypeAlias.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCTypeAlias.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCTypeAlias; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCTypeAlias; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCTypeAlias + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCTypeAlias { - get => _ImmutableDictionaryStringCTypeAlias ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCTypeAlias ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCTypeAlias(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCTypeAlias(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CTypeAlias>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CTypeAlias>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCVariable.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCVariable.g.cs similarity index 64% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCVariable.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCVariable.g.cs index 16a4dc0..937d3a3 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCVariable.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.ImmutableDictionaryStringCVariable.g.cs @@ -6,31 +6,31 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCVariable; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>? _ImmutableDictionaryStringCVariable; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCVariable + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ImmutableDictionaryStringCVariable { - get => _ImmutableDictionaryStringCVariable ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); + get => _ImmutableDictionaryStringCVariable ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo>)Options.GetTypeInfo(typeof(global::System.Collections.Immutable.ImmutableDictionary)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCVariable(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> Create_ImmutableDictionaryStringCVariable(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> jsonTypeInfo)) { - var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> + var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues> { ObjectCreator = null, SerializeHandler = null }; - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2json.Data.Nodes.CVariable>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo, string, global::c2ffi.Data.Nodes.CVariable>(options, info, createRangeFunc: global::System.Collections.Immutable.ImmutableDictionary.CreateRange); jsonTypeInfo.NumberHandling = null; } diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int32.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int32.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int32.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int32.g.cs index 4a206cd..19a9514 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int32.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int32.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int64.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int64.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int64.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int64.g.cs index 3285994..e18cc1a 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int64.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.Int64.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableBoolean.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableBoolean.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableBoolean.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableBoolean.g.cs index bf2c381..e87019a 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableBoolean.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableBoolean.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableCLocation.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableCLocation.g.cs similarity index 59% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableCLocation.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableCLocation.g.cs index 821b054..28b4886 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableCLocation.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableCLocation.g.cs @@ -6,26 +6,26 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _NullableCLocation; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _NullableCLocation; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo NullableCLocation + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo NullableCLocation { - get => _NullableCLocation ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.CLocation?)); + get => _NullableCLocation ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.CLocation?)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_NullableCLocation(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_NullableCLocation(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter(options); - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, converter); + global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter(options); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo(options, converter); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableInt32.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableInt32.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableInt32.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableInt32.g.cs index afc2f9d..0c6bf02 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableInt32.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.NullableInt32.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.PropertyNames.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.PropertyNames.g.cs similarity index 88% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.PropertyNames.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.PropertyNames.g.cs index 82209eb..6ee959d 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.PropertyNames.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.PropertyNames.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.String.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.String.g.cs similarity index 97% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.String.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.String.g.cs index 34c90fa..c5ff780 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.String.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.String.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.TargetPlatform.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.TargetPlatform.g.cs similarity index 55% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.TargetPlatform.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.TargetPlatform.g.cs index 8914564..3da29d8 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.TargetPlatform.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.TargetPlatform.g.cs @@ -6,26 +6,26 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { public partial class JsonSerializerContextCFfiTargetPlatform { - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _TargetPlatform; + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? _TargetPlatform; /// /// Defines the source generated JSON serialization contract metadata for a given type. /// - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo TargetPlatform + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo TargetPlatform { - get => _TargetPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2json.Data.TargetPlatform)); + get => _TargetPlatform ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo)Options.GetTypeInfo(typeof(global::c2ffi.Data.TargetPlatform)); } - private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_TargetPlatform(global::System.Text.Json.JsonSerializerOptions options) + private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo Create_TargetPlatform(global::System.Text.Json.JsonSerializerOptions options) { - if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) + if (!TryGetTypeInfoForRuntimeCustomConverter(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo)) { - global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::c2json.Data.TargetPlatform), new global::c2json.Data.Serialization.TargetPlatformJsonConverter(), options); - jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo (options, converter); + global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::c2ffi.Data.TargetPlatform), new global::c2ffi.Data.Serialization.TargetPlatformJsonConverter(), options); + jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo (options, converter); } jsonTypeInfo.OriginatingResolver = this; diff --git a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.g.cs b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.g.cs similarity index 93% rename from src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.g.cs rename to src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.g.cs index e8c6792..bc6da56 100644 --- a/src/cs/production/c2json.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.g.cs +++ b/src/cs/production/c2ffi.Data/Generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/JsonSerializerContextCFfiTargetPlatform.g.cs @@ -6,7 +6,7 @@ // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 -namespace c2json.Data.Serialization +namespace c2ffi.Data.Serialization { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Text.Json.SourceGeneration", "8.0.9.3103")] public partial class JsonSerializerContextCFfiTargetPlatform @@ -21,7 +21,7 @@ public partial class JsonSerializerContextCFfiTargetPlatform /// /// The default associated with a default instance. /// - public static global::c2json.Data.Serialization.JsonSerializerContextCFfiTargetPlatform Default { get; } = new global::c2json.Data.Serialization.JsonSerializerContextCFfiTargetPlatform(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions)); + public static global::c2ffi.Data.Serialization.JsonSerializerContextCFfiTargetPlatform Default { get; } = new global::c2ffi.Data.Serialization.JsonSerializerContextCFfiTargetPlatform(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions)); /// /// The source-generated options associated with this context. diff --git a/src/cs/production/c2json.Data/Native.cs b/src/cs/production/c2ffi.Data/Native.cs similarity index 99% rename from src/cs/production/c2json.Data/Native.cs rename to src/cs/production/c2ffi.Data/Native.cs index aae3437..13e363f 100644 --- a/src/cs/production/c2json.Data/Native.cs +++ b/src/cs/production/c2ffi.Data/Native.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; /// /// Provides native utility functions. diff --git a/src/cs/production/c2json.Data/NativeArchitecture.cs b/src/cs/production/c2ffi.Data/NativeArchitecture.cs similarity index 98% rename from src/cs/production/c2json.Data/NativeArchitecture.cs rename to src/cs/production/c2ffi.Data/NativeArchitecture.cs index 7136ead..b83849e 100644 --- a/src/cs/production/c2json.Data/NativeArchitecture.cs +++ b/src/cs/production/c2ffi.Data/NativeArchitecture.cs @@ -1,7 +1,7 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -namespace c2json.Data; +namespace c2ffi.Data; /// Defines the native computer architectures. public enum NativeArchitecture diff --git a/src/cs/production/c2json.Data/NativeOperatingSystem.cs b/src/cs/production/c2ffi.Data/NativeOperatingSystem.cs similarity index 99% rename from src/cs/production/c2json.Data/NativeOperatingSystem.cs rename to src/cs/production/c2ffi.Data/NativeOperatingSystem.cs index 14fe99f..2f44410 100644 --- a/src/cs/production/c2json.Data/NativeOperatingSystem.cs +++ b/src/cs/production/c2ffi.Data/NativeOperatingSystem.cs @@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis; using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; /// /// Defines the native operating systems. diff --git a/src/cs/production/c2json.Data/Nodes/CArray.cs b/src/cs/production/c2ffi.Data/Nodes/CArray.cs similarity index 97% rename from src/cs/production/c2json.Data/Nodes/CArray.cs rename to src/cs/production/c2ffi.Data/Nodes/CArray.cs index 43e1992..2d4a3fd 100644 --- a/src/cs/production/c2json.Data/Nodes/CArray.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CArray.cs @@ -4,7 +4,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CEnum.cs b/src/cs/production/c2ffi.Data/Nodes/CEnum.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CEnum.cs rename to src/cs/production/c2ffi.Data/Nodes/CEnum.cs index aeefdcc..757b00f 100644 --- a/src/cs/production/c2json.Data/Nodes/CEnum.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CEnum.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CEnumConstant.cs b/src/cs/production/c2ffi.Data/Nodes/CEnumConstant.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CEnumConstant.cs rename to src/cs/production/c2ffi.Data/Nodes/CEnumConstant.cs index 96e85c8..ffe07aa 100644 --- a/src/cs/production/c2json.Data/Nodes/CEnumConstant.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CEnumConstant.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CEnumValue.cs b/src/cs/production/c2ffi.Data/Nodes/CEnumValue.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CEnumValue.cs rename to src/cs/production/c2ffi.Data/Nodes/CEnumValue.cs index e9cc756..10d8c0d 100644 --- a/src/cs/production/c2json.Data/Nodes/CEnumValue.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CEnumValue.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CFunction.cs b/src/cs/production/c2ffi.Data/Nodes/CFunction.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CFunction.cs rename to src/cs/production/c2ffi.Data/Nodes/CFunction.cs index c173f09..f26148a 100644 --- a/src/cs/production/c2json.Data/Nodes/CFunction.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CFunction.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CFunctionParameter.cs b/src/cs/production/c2ffi.Data/Nodes/CFunctionParameter.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CFunctionParameter.cs rename to src/cs/production/c2ffi.Data/Nodes/CFunctionParameter.cs index e4cae25..046cf32 100644 --- a/src/cs/production/c2json.Data/Nodes/CFunctionParameter.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CFunctionParameter.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CFunctionPointer.cs b/src/cs/production/c2ffi.Data/Nodes/CFunctionPointer.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CFunctionPointer.cs rename to src/cs/production/c2ffi.Data/Nodes/CFunctionPointer.cs index 4814b82..38949ab 100644 --- a/src/cs/production/c2json.Data/Nodes/CFunctionPointer.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CFunctionPointer.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CFunctionPointerParameter.cs b/src/cs/production/c2ffi.Data/Nodes/CFunctionPointerParameter.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CFunctionPointerParameter.cs rename to src/cs/production/c2ffi.Data/Nodes/CFunctionPointerParameter.cs index a01ba1f..f9a222b 100644 --- a/src/cs/production/c2json.Data/Nodes/CFunctionPointerParameter.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CFunctionPointerParameter.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CMacroObject.cs b/src/cs/production/c2ffi.Data/Nodes/CMacroObject.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CMacroObject.cs rename to src/cs/production/c2ffi.Data/Nodes/CMacroObject.cs index 7125eeb..62f6687 100644 --- a/src/cs/production/c2json.Data/Nodes/CMacroObject.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CMacroObject.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CNode.cs b/src/cs/production/c2ffi.Data/Nodes/CNode.cs similarity index 99% rename from src/cs/production/c2json.Data/Nodes/CNode.cs rename to src/cs/production/c2ffi.Data/Nodes/CNode.cs index 2f862fe..a616ad7 100644 --- a/src/cs/production/c2json.Data/Nodes/CNode.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CNode.cs @@ -4,7 +4,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CNodeWithLocation.cs b/src/cs/production/c2ffi.Data/Nodes/CNodeWithLocation.cs similarity index 97% rename from src/cs/production/c2json.Data/Nodes/CNodeWithLocation.cs rename to src/cs/production/c2ffi.Data/Nodes/CNodeWithLocation.cs index 94d5c0b..eef50dd 100644 --- a/src/cs/production/c2json.Data/Nodes/CNodeWithLocation.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CNodeWithLocation.cs @@ -4,7 +4,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/COpaqueType.cs b/src/cs/production/c2ffi.Data/Nodes/COpaqueType.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/COpaqueType.cs rename to src/cs/production/c2ffi.Data/Nodes/COpaqueType.cs index 7d3704a..959adf2 100644 --- a/src/cs/production/c2json.Data/Nodes/COpaqueType.cs +++ b/src/cs/production/c2ffi.Data/Nodes/COpaqueType.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CPointer.cs b/src/cs/production/c2ffi.Data/Nodes/CPointer.cs similarity index 97% rename from src/cs/production/c2json.Data/Nodes/CPointer.cs rename to src/cs/production/c2ffi.Data/Nodes/CPointer.cs index 92b76cd..69b2683 100644 --- a/src/cs/production/c2json.Data/Nodes/CPointer.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CPointer.cs @@ -4,7 +4,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CPrimitive.cs b/src/cs/production/c2ffi.Data/Nodes/CPrimitive.cs similarity index 97% rename from src/cs/production/c2json.Data/Nodes/CPrimitive.cs rename to src/cs/production/c2ffi.Data/Nodes/CPrimitive.cs index 646886b..77cb4b5 100644 --- a/src/cs/production/c2json.Data/Nodes/CPrimitive.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CPrimitive.cs @@ -4,7 +4,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CRecord.cs b/src/cs/production/c2ffi.Data/Nodes/CRecord.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CRecord.cs rename to src/cs/production/c2ffi.Data/Nodes/CRecord.cs index 7726070..ae7dea5 100644 --- a/src/cs/production/c2json.Data/Nodes/CRecord.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CRecord.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CRecordField.cs b/src/cs/production/c2ffi.Data/Nodes/CRecordField.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CRecordField.cs rename to src/cs/production/c2ffi.Data/Nodes/CRecordField.cs index 6ded27d..eb934b1 100644 --- a/src/cs/production/c2json.Data/Nodes/CRecordField.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CRecordField.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CTypeAlias.cs b/src/cs/production/c2ffi.Data/Nodes/CTypeAlias.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CTypeAlias.cs rename to src/cs/production/c2ffi.Data/Nodes/CTypeAlias.cs index 3bba3e2..cf132da 100644 --- a/src/cs/production/c2json.Data/Nodes/CTypeAlias.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CTypeAlias.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Nodes/CVariable.cs b/src/cs/production/c2ffi.Data/Nodes/CVariable.cs similarity index 98% rename from src/cs/production/c2json.Data/Nodes/CVariable.cs rename to src/cs/production/c2ffi.Data/Nodes/CVariable.cs index 4bec2ce..83c3a4b 100644 --- a/src/cs/production/c2json.Data/Nodes/CVariable.cs +++ b/src/cs/production/c2ffi.Data/Nodes/CVariable.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Data.Nodes; +namespace c2ffi.Data.Nodes; // NOTE: Properties are required for System.Text.Json serialization diff --git a/src/cs/production/c2json.Data/Serialization/Json.cs b/src/cs/production/c2ffi.Data/Serialization/Json.cs similarity index 98% rename from src/cs/production/c2json.Data/Serialization/Json.cs rename to src/cs/production/c2ffi.Data/Serialization/Json.cs index febea6e..9d019b5 100644 --- a/src/cs/production/c2json.Data/Serialization/Json.cs +++ b/src/cs/production/c2ffi.Data/Serialization/Json.cs @@ -7,11 +7,11 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -[assembly: InternalsVisibleTo("c2json.Tool")] +[assembly: InternalsVisibleTo("c2ffi.Tool")] #pragma warning disable CA1724 -namespace c2json.Data.Serialization; +namespace c2ffi.Data.Serialization; [PublicAPI] public static class Json diff --git a/src/cs/production/c2json.Data/Serialization/JsonSerializerContextCFfiCrossPlatform.cs b/src/cs/production/c2ffi.Data/Serialization/JsonSerializerContextCFfiCrossPlatform.cs similarity index 94% rename from src/cs/production/c2json.Data/Serialization/JsonSerializerContextCFfiCrossPlatform.cs rename to src/cs/production/c2ffi.Data/Serialization/JsonSerializerContextCFfiCrossPlatform.cs index c281f30..f1d7f70 100644 --- a/src/cs/production/c2json.Data/Serialization/JsonSerializerContextCFfiCrossPlatform.cs +++ b/src/cs/production/c2ffi.Data/Serialization/JsonSerializerContextCFfiCrossPlatform.cs @@ -3,7 +3,7 @@ using System.Text.Json.Serialization; -namespace c2json.Data.Serialization; +namespace c2ffi.Data.Serialization; [JsonSourceGenerationOptions( WriteIndented = true, diff --git a/src/cs/production/c2json.Data/Serialization/JsonSerializerContextCFfiTargetPlatform.cs b/src/cs/production/c2ffi.Data/Serialization/JsonSerializerContextCFfiTargetPlatform.cs similarity index 94% rename from src/cs/production/c2json.Data/Serialization/JsonSerializerContextCFfiTargetPlatform.cs rename to src/cs/production/c2ffi.Data/Serialization/JsonSerializerContextCFfiTargetPlatform.cs index ab15408..9923624 100644 --- a/src/cs/production/c2json.Data/Serialization/JsonSerializerContextCFfiTargetPlatform.cs +++ b/src/cs/production/c2ffi.Data/Serialization/JsonSerializerContextCFfiTargetPlatform.cs @@ -3,7 +3,7 @@ using System.Text.Json.Serialization; -namespace c2json.Data.Serialization; +namespace c2ffi.Data.Serialization; [JsonSourceGenerationOptions( WriteIndented = true, diff --git a/src/cs/production/c2json.Data/Serialization/TargetPlatformJsonConverter.cs b/src/cs/production/c2ffi.Data/Serialization/TargetPlatformJsonConverter.cs similarity index 98% rename from src/cs/production/c2json.Data/Serialization/TargetPlatformJsonConverter.cs rename to src/cs/production/c2ffi.Data/Serialization/TargetPlatformJsonConverter.cs index ce09e52..59564ab 100644 --- a/src/cs/production/c2json.Data/Serialization/TargetPlatformJsonConverter.cs +++ b/src/cs/production/c2ffi.Data/Serialization/TargetPlatformJsonConverter.cs @@ -5,7 +5,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace c2json.Data.Serialization; +namespace c2ffi.Data.Serialization; /// /// Provides a converter that serializes and deserializes object instances to and from diff --git a/src/cs/production/c2json.Data/TargetPlatform.cs b/src/cs/production/c2ffi.Data/TargetPlatform.cs similarity index 99% rename from src/cs/production/c2json.Data/TargetPlatform.cs rename to src/cs/production/c2ffi.Data/TargetPlatform.cs index 98311e6..96da353 100644 --- a/src/cs/production/c2json.Data/TargetPlatform.cs +++ b/src/cs/production/c2ffi.Data/TargetPlatform.cs @@ -3,10 +3,10 @@ using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; -using c2json.Data.Serialization; +using c2ffi.Data.Serialization; using JetBrains.Annotations; -namespace c2json.Data; +namespace c2ffi.Data; #pragma warning disable SA1124 #pragma warning disable SA1307 diff --git a/src/cs/production/c2json.Data/c2json.Data.csproj b/src/cs/production/c2ffi.Data/c2ffi.Data.csproj similarity index 92% rename from src/cs/production/c2json.Data/c2json.Data.csproj rename to src/cs/production/c2ffi.Data/c2ffi.Data.csproj index aeb7db3..7249ccf 100644 --- a/src/cs/production/c2json.Data/c2json.Data.csproj +++ b/src/cs/production/c2ffi.Data/c2ffi.Data.csproj @@ -5,6 +5,7 @@ net8.0 enable enable + c2ffi.Data diff --git a/src/cs/production/c2json.Tool/CommandLineInterfaceCommand.cs b/src/cs/production/c2ffi.Tool/CommandLineInterfaceCommand.cs similarity index 90% rename from src/cs/production/c2json.Tool/CommandLineInterfaceCommand.cs rename to src/cs/production/c2ffi.Tool/CommandLineInterfaceCommand.cs index e84f958..2bef2bd 100644 --- a/src/cs/production/c2json.Tool/CommandLineInterfaceCommand.cs +++ b/src/cs/production/c2ffi.Tool/CommandLineInterfaceCommand.cs @@ -4,10 +4,10 @@ using System.CommandLine; using System.Diagnostics.CodeAnalysis; using System.Reflection; -using c2json.Tool.Commands.Extract; -using c2json.Tool.Commands.Merge; +using c2ffi.Tool.Commands.Extract; +using c2ffi.Tool.Commands.Merge; -namespace c2json.Tool; +namespace c2ffi.Tool; [ExcludeFromCodeCoverage] public sealed class CommandLineInterfaceCommand : RootCommand diff --git a/src/cs/production/c2json.Tool/CommandLineInterfaceHost.cs b/src/cs/production/c2ffi.Tool/CommandLineInterfaceHost.cs similarity index 98% rename from src/cs/production/c2json.Tool/CommandLineInterfaceHost.cs rename to src/cs/production/c2ffi.Tool/CommandLineInterfaceHost.cs index 5d3a225..c55f8d3 100644 --- a/src/cs/production/c2json.Tool/CommandLineInterfaceHost.cs +++ b/src/cs/production/c2ffi.Tool/CommandLineInterfaceHost.cs @@ -5,7 +5,7 @@ using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.Hosting; -namespace c2json.Tool; +namespace c2ffi.Tool; [ExcludeFromCodeCoverage] public sealed class CommandLineInterfaceHost( diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreContext.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreContext.cs similarity index 95% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreContext.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreContext.cs index 6db4321..18a68de 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreContext.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreContext.cs @@ -3,14 +3,14 @@ using System.Collections.Immutable; using bottlenoselabs; -using c2json.Data; -using c2json.Data.Nodes; -using c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; -using c2json.Tool.Commands.Extract.Domain.Parse; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Data; +using c2ffi.Data.Nodes; +using c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +using c2ffi.Tool.Commands.Extract.Domain.Parse; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; using Microsoft.Extensions.DependencyInjection; -namespace c2json.Tool.Commands.Extract.Domain.Explore; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore; public sealed class ExploreContext : IDisposable { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreInfoNode.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreInfoNode.cs similarity index 91% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreInfoNode.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreInfoNode.cs index 01d3865..a8b17e9 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreInfoNode.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreInfoNode.cs @@ -1,10 +1,10 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Data; +using c2ffi.Data; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore; public sealed class ExploreInfoNode { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreKindCursors.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreKindCursors.cs similarity index 96% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreKindCursors.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreKindCursors.cs index 7382981..5aaa6ff 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreKindCursors.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreKindCursors.cs @@ -4,7 +4,7 @@ using System.Collections.Immutable; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore; public class ExploreKindCursors { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreKindTypes.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreKindTypes.cs similarity index 96% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreKindTypes.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreKindTypes.cs index 290d66e..5796f4f 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/ExploreKindTypes.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/ExploreKindTypes.cs @@ -4,7 +4,7 @@ using System.Collections.Immutable; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore; public class ExploreKindTypes { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/Explorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/Explorer.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/Explorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/Explorer.cs index 5104d88..6881f11 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/Explorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/Explorer.cs @@ -2,15 +2,15 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using bottlenoselabs; -using c2json.Data; -using c2json.Data.Nodes; -using c2json.Tool.Commands.Extract.Domain.Parse; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; -using c2json.Tool.Commands.Extract.Input.Sanitized; -using c2json.Tool.Internal; +using c2ffi.Data; +using c2ffi.Data.Nodes; +using c2ffi.Tool.Commands.Extract.Domain.Parse; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Tool.Commands.Extract.Input.Sanitized; +using c2ffi.Tool.Internal; using Microsoft.Extensions.Logging; -namespace c2json.Tool.Commands.Extract.Domain.Explore; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore; public sealed partial class Explorer { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/FfiBuilder.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/FfiBuilder.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/FfiBuilder.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/FfiBuilder.cs index ba0ff74..46a9c2a 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/FfiBuilder.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/FfiBuilder.cs @@ -2,11 +2,11 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; -using c2json.Data.Nodes; -using c2json.Tool.Commands.Extract.Domain.Parse; +using c2ffi.Data; +using c2ffi.Data.Nodes; +using c2ffi.Tool.Commands.Extract.Domain.Parse; -namespace c2json.Tool.Commands.Extract.Domain.Explore; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore; public sealed class FfiBuilder { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/MacroObjectCandidate.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/MacroObjectCandidate.cs similarity index 86% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/MacroObjectCandidate.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/MacroObjectCandidate.cs index d0bc969..d4f8aaf 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/MacroObjectCandidate.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/MacroObjectCandidate.cs @@ -2,9 +2,9 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; +using c2ffi.Data; -namespace c2json.Tool.Commands.Extract.Domain.Explore; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore; public class MacroObjectCandidate { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorer.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorer.cs index 87ee972..38f8283 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorer.cs @@ -1,12 +1,12 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Data; -using c2json.Data.Nodes; +using c2ffi.Data; +using c2ffi.Data.Nodes; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore; public abstract class NodeExplorer : NodeExplorer where TNode : CNode diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/ArrayExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/ArrayExplorer.cs similarity index 93% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/ArrayExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/ArrayExplorer.cs index c81131d..c7ebf2c 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/ArrayExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/ArrayExplorer.cs @@ -1,12 +1,12 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class ArrayExplorer : NodeExplorer diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumConstantExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumConstantExplorer.cs similarity index 94% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumConstantExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumConstantExplorer.cs index 6762359..59cc1a8 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumConstantExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumConstantExplorer.cs @@ -2,12 +2,12 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Globalization; -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public class EnumConstantExplorer(ILogger logger) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumExplorer.cs similarity index 93% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumExplorer.cs index 85967c7..6546d12 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/EnumExplorer.cs @@ -2,14 +2,14 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; -using c2json.Data.Nodes; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Data; +using c2ffi.Data.Nodes; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class EnumExplorer(ILogger logger) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionExplorer.cs similarity index 96% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionExplorer.cs index 7590495..3b48b63 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionExplorer.cs @@ -2,14 +2,14 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; -using c2json.Data.Nodes; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Data; +using c2ffi.Data.Nodes; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class FunctionExplorer(ILogger logger) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionPointerExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionPointerExplorer.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionPointerExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionPointerExplorer.cs index bdfede0..781d7c5 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionPointerExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/FunctionPointerExplorer.cs @@ -2,13 +2,13 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; -using c2json.Data.Nodes; +using c2ffi.Data; +using c2ffi.Data.Nodes; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class FunctionPointerExplorer(ILogger logger) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/OpaqueTypeExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/OpaqueTypeExplorer.cs similarity index 92% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/OpaqueTypeExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/OpaqueTypeExplorer.cs index a239267..0f6807d 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/OpaqueTypeExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/OpaqueTypeExplorer.cs @@ -1,11 +1,11 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; using Microsoft.Extensions.Logging; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class OpaqueTypeExplorer(ILogger logger) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PointerExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PointerExplorer.cs similarity index 93% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PointerExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PointerExplorer.cs index 59c93a1..1a83c1b 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PointerExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PointerExplorer.cs @@ -1,12 +1,12 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class PointerExplorer(ILogger logger) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PrimitiveExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PrimitiveExplorer.cs similarity index 95% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PrimitiveExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PrimitiveExplorer.cs index d394007..5121562 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PrimitiveExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/PrimitiveExplorer.cs @@ -1,12 +1,12 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class PrimitiveExplorer(ILogger logger) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/RecordExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/RecordExplorer.cs similarity index 93% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/RecordExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/RecordExplorer.cs index 8423016..d59ee81 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/RecordExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/RecordExplorer.cs @@ -2,12 +2,12 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data.Nodes; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Data.Nodes; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; public abstract class RecordExplorer(ILogger logger, bool logAlreadyExplored = true) : NodeExplorer(logger, logAlreadyExplored) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/StructExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/StructExplorer.cs similarity index 94% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/StructExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/StructExplorer.cs index e39db2d..ae8cf83 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/StructExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/StructExplorer.cs @@ -2,14 +2,14 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; -using c2json.Data.Nodes; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Data; +using c2ffi.Data.Nodes; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class StructExplorer(ILogger logger) : RecordExplorer(logger, false) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/TypeAliasExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/TypeAliasExplorer.cs similarity index 94% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/TypeAliasExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/TypeAliasExplorer.cs index 9bdb6ad..df14906 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/TypeAliasExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/TypeAliasExplorer.cs @@ -1,12 +1,12 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public class TypeAliasExplorer : NodeExplorer diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/UnionExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/UnionExplorer.cs similarity index 94% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/UnionExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/UnionExplorer.cs index 6c28ab8..eda72e2 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/UnionExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/UnionExplorer.cs @@ -2,14 +2,14 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; -using c2json.Data.Nodes; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Data; +using c2ffi.Data.Nodes; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class UnionExplorer(ILogger logger) : RecordExplorer(logger, false) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/VariableExplorer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/VariableExplorer.cs similarity index 93% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/VariableExplorer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/VariableExplorer.cs index e92b540..e4fcbe0 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Explore/NodeExplorers/VariableExplorer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Explore/NodeExplorers/VariableExplorer.cs @@ -1,12 +1,12 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Data.Nodes; +using c2ffi.Data.Nodes; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +namespace c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; [UsedImplicitly] public sealed class VariableExplorer(ILogger logger) diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangDiagnostic.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangDiagnostic.cs similarity index 86% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangDiagnostic.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangDiagnostic.cs index b25068b..04dd0e1 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangDiagnostic.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangDiagnostic.cs @@ -1,7 +1,7 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -namespace c2json.Tool.Commands.Extract.Domain.Parse; +namespace c2ffi.Tool.Commands.Extract.Domain.Parse; public class ClangDiagnostic { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangException.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangException.cs similarity index 90% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangException.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangException.cs index 6085e88..2289cc7 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangException.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangException.cs @@ -1,7 +1,7 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -namespace c2json.Tool.Commands.Extract.Domain.Parse; +namespace c2ffi.Tool.Commands.Extract.Domain.Parse; public sealed class ClangException : Exception { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangInstaller.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangInstaller.cs similarity index 98% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangInstaller.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangInstaller.cs index 0a744c3..d4b59f8 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangInstaller.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangInstaller.cs @@ -5,11 +5,11 @@ using System.Reflection; using System.Runtime.InteropServices; using bottlenoselabs; -using c2json.Data; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Data; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; using Microsoft.Extensions.Logging; -namespace c2json.Tool.Commands.Extract.Domain.Parse; +namespace c2ffi.Tool.Commands.Extract.Domain.Parse; public sealed partial class ClangInstaller { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangTranslationUnitParser.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangTranslationUnitParser.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangTranslationUnitParser.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangTranslationUnitParser.cs index 70557ac..657652a 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangTranslationUnitParser.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangTranslationUnitParser.cs @@ -4,12 +4,12 @@ using System.Collections.Immutable; using System.Text; using bottlenoselabs; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; -using c2json.Tool.Commands.Extract.Input.Sanitized; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Tool.Commands.Extract.Input.Sanitized; using Microsoft.Extensions.Logging; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Domain.Parse; +namespace c2ffi.Tool.Commands.Extract.Domain.Parse; public sealed partial class ClangTranslationUnitParser { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangTypeInfoProvider.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangTypeInfoProvider.cs similarity index 98% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangTypeInfoProvider.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangTypeInfoProvider.cs index 8888a8e..5761f3c 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ClangTypeInfoProvider.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ClangTypeInfoProvider.cs @@ -2,10 +2,10 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using bottlenoselabs; -using c2json.Data; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Data; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; -namespace c2json.Tool.Commands.Extract.Domain.Parse; +namespace c2ffi.Tool.Commands.Extract.Domain.Parse; #pragma warning disable CA1815 #pragma warning disable CA1034 diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContext.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContext.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContext.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContext.cs index 42b4c60..387ed45 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContext.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContext.cs @@ -3,11 +3,11 @@ using System.Collections.Immutable; using bottlenoselabs; -using c2json.Data; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; -using c2json.Tool.Commands.Extract.Input.Sanitized; +using c2ffi.Data; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Tool.Commands.Extract.Input.Sanitized; -namespace c2json.Tool.Commands.Extract.Domain.Parse; +namespace c2ffi.Tool.Commands.Extract.Domain.Parse; public sealed class ParseContext : IDisposable { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderArgumentsProvider.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderArgumentsProvider.cs similarity index 95% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderArgumentsProvider.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderArgumentsProvider.cs index 0f4dc7b..5dca035 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderArgumentsProvider.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderArgumentsProvider.cs @@ -2,11 +2,11 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; -using c2json.Tool.Commands.Extract.Input.Sanitized; -using TargetPlatform = c2json.Data.TargetPlatform; +using c2ffi.Data; +using c2ffi.Tool.Commands.Extract.Input.Sanitized; +using TargetPlatform = c2ffi.Data.TargetPlatform; -namespace c2json.Tool.Commands.Extract.Domain.Parse; +namespace c2ffi.Tool.Commands.Extract.Domain.Parse; public class ParseContextBuilderArgumentsProvider { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderSystemIncludeDirectoriesProvider.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderSystemIncludeDirectoriesProvider.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderSystemIncludeDirectoriesProvider.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderSystemIncludeDirectoriesProvider.cs index 747bc4d..79e0c10 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderSystemIncludeDirectoriesProvider.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Domain/Parse/ParseContextBuilderSystemIncludeDirectoriesProvider.cs @@ -6,12 +6,12 @@ using bottlenoselabs.Common; using JetBrains.Annotations; using Microsoft.Extensions.Logging; -using Native = c2json.Data.Native; -using NativeArchitecture = c2json.Data.NativeArchitecture; -using NativeOperatingSystem = c2json.Data.NativeOperatingSystem; -using TargetPlatform = c2json.Data.TargetPlatform; +using Native = c2ffi.Data.Native; +using NativeArchitecture = c2ffi.Data.NativeArchitecture; +using NativeOperatingSystem = c2ffi.Data.NativeOperatingSystem; +using TargetPlatform = c2ffi.Data.TargetPlatform; -namespace c2json.Tool.Commands.Extract.Domain.Parse; +namespace c2ffi.Tool.Commands.Extract.Domain.Parse; [UsedImplicitly] public sealed partial class ParseContextBuilderSystemIncludeDirectoriesProvider diff --git a/src/cs/production/c2json.Tool/Commands/Extract/ExtractFfiCommand.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/ExtractFfiCommand.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/ExtractFfiCommand.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/ExtractFfiCommand.cs index 96a7ce3..991fca6 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/ExtractFfiCommand.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/ExtractFfiCommand.cs @@ -4,7 +4,7 @@ using System.CommandLine; using JetBrains.Annotations; -namespace c2json.Tool.Commands.Extract; +namespace c2ffi.Tool.Commands.Extract; [UsedImplicitly] public sealed class ExtractFfiCommand : Command diff --git a/src/cs/production/c2json.Tool/Commands/Extract/ExtractFfiTool.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/ExtractFfiTool.cs similarity index 90% rename from src/cs/production/c2json.Tool/Commands/Extract/ExtractFfiTool.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/ExtractFfiTool.cs index d96dba9..4a6a5c0 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/ExtractFfiTool.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/ExtractFfiTool.cs @@ -3,16 +3,16 @@ using System.Collections.Immutable; using System.IO.Abstractions; -using c2json.Data; -using c2json.Data.Serialization; -using c2json.Tool.Commands.Extract.Domain.Explore; -using c2json.Tool.Commands.Extract.Input; -using c2json.Tool.Commands.Extract.Input.Sanitized; +using c2ffi.Data; +using c2ffi.Data.Serialization; +using c2ffi.Tool.Commands.Extract.Domain.Explore; +using c2ffi.Tool.Commands.Extract.Input; +using c2ffi.Tool.Commands.Extract.Input.Sanitized; using Microsoft.Extensions.Logging; -using ClangInstaller = c2json.Tool.Commands.Extract.Domain.Parse.ClangInstaller; -using ExtractOptions = c2json.Tool.Commands.Extract.Input.ExtractOptions; +using ClangInstaller = c2ffi.Tool.Commands.Extract.Domain.Parse.ClangInstaller; +using ExtractOptions = c2ffi.Tool.Commands.Extract.Input.ExtractOptions; -namespace c2json.Tool.Commands.Extract; +namespace c2ffi.Tool.Commands.Extract; public sealed partial class ExtractFfiTool { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/CString.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/CString.cs similarity index 99% rename from src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/CString.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/CString.cs index f9c52b9..1a7fa83 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/CString.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/CString.cs @@ -3,7 +3,7 @@ using System.Runtime.InteropServices; -namespace c2json.Tool.Commands.Extract.Infrastructure.Clang; +namespace c2ffi.Tool.Commands.Extract.Infrastructure.Clang; /// /// A pointer value type of bytes that represent a string; the C type `char*`. diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/CStrings.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/CStrings.cs similarity index 95% rename from src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/CStrings.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/CStrings.cs index ab8042b..80246da 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/CStrings.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/CStrings.cs @@ -3,7 +3,7 @@ using System.Runtime.InteropServices; -namespace c2json.Tool.Commands.Extract.Infrastructure.Clang; +namespace c2ffi.Tool.Commands.Extract.Infrastructure.Clang; /// /// Utility methods for interoperability with C style strings in C#. diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangExtensions.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangExtensions.cs similarity index 99% rename from src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangExtensions.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangExtensions.cs index dae8b2c..1192bd0 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangExtensions.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangExtensions.cs @@ -4,12 +4,12 @@ using System.Collections.Immutable; using System.Runtime.InteropServices; using System.Text; -using c2json.Data; +using c2ffi.Data; using static bottlenoselabs.clang; #pragma warning disable CA1806 -namespace c2json.Tool.Commands.Extract.Infrastructure.Clang +namespace c2ffi.Tool.Commands.Extract.Infrastructure.Clang { public static class ClangExtensions { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangFunctions.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangFunctions.cs similarity index 99% rename from src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangFunctions.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangFunctions.cs index 3030e97..102fe4c 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangFunctions.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangFunctions.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Infrastructure.Clang; +namespace c2ffi.Tool.Commands.Extract.Infrastructure.Clang; public static unsafe class ClangFunctions { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangVisitCursorChildPredicate.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangVisitCursorChildPredicate.cs similarity index 84% rename from src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangVisitCursorChildPredicate.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangVisitCursorChildPredicate.cs index 79d2272..38c9e6b 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/ClangVisitCursorChildPredicate.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/ClangVisitCursorChildPredicate.cs @@ -3,6 +3,6 @@ using static bottlenoselabs.clang; -namespace c2json.Tool.Commands.Extract.Infrastructure.Clang; +namespace c2ffi.Tool.Commands.Extract.Infrastructure.Clang; public delegate bool ClangVisitCursorChildPredicate(CXCursor child, CXCursor parent); diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/clang.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/clang.cs similarity index 99% rename from src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/clang.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/clang.cs index e2c05ba..08ae176 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Infrastructure/Clang/clang.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Infrastructure/Clang/clang.cs @@ -20,7 +20,7 @@ using System.Globalization; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; -using c2json.Tool.Commands.Extract.Infrastructure.Clang; +using c2ffi.Tool.Commands.Extract.Infrastructure.Clang; namespace bottlenoselabs { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Input/ExtractInputSanitizer.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/ExtractInputSanitizer.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Input/ExtractInputSanitizer.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Input/ExtractInputSanitizer.cs index ba28117..99a1e77 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Input/ExtractInputSanitizer.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/ExtractInputSanitizer.cs @@ -4,12 +4,12 @@ using System.Collections.Immutable; using System.IO.Abstractions; using bottlenoselabs.Common.Tools; -using c2json.Data; -using c2json.Tool.Commands.Extract.Input.Sanitized; -using c2json.Tool.Commands.Extract.Input.Unsanitized; -using c2json.Tool.Internal.Input; +using c2ffi.Data; +using c2ffi.Tool.Commands.Extract.Input.Sanitized; +using c2ffi.Tool.Commands.Extract.Input.Unsanitized; +using c2ffi.Tool.Internal.Input; -namespace c2json.Tool.Commands.Extract.Input; +namespace c2ffi.Tool.Commands.Extract.Input; public sealed class ExtractInputSanitizer : InputSanitizer { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Input/ExtractOptions.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/ExtractOptions.cs similarity index 82% rename from src/cs/production/c2json.Tool/Commands/Extract/Input/ExtractOptions.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Input/ExtractOptions.cs index e5963d0..2c075da 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Input/ExtractOptions.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/ExtractOptions.cs @@ -2,9 +2,9 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Tool.Commands.Extract.Input.Sanitized; +using c2ffi.Tool.Commands.Extract.Input.Sanitized; -namespace c2json.Tool.Commands.Extract.Input; +namespace c2ffi.Tool.Commands.Extract.Input; public sealed class ExtractOptions { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Input/Sanitized/ExtractOptions.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/Sanitized/ExtractOptions.cs similarity index 88% rename from src/cs/production/c2json.Tool/Commands/Extract/Input/Sanitized/ExtractOptions.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Input/Sanitized/ExtractOptions.cs index 5b58c05..8b965b7 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Input/Sanitized/ExtractOptions.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/Sanitized/ExtractOptions.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace c2json.Tool.Commands.Extract.Input.Sanitized; +namespace c2ffi.Tool.Commands.Extract.Input.Sanitized; public sealed class ExtractOptions { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Input/Sanitized/ExtractTargetPlatformOptions.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/Sanitized/ExtractTargetPlatformOptions.cs similarity index 94% rename from src/cs/production/c2json.Tool/Commands/Extract/Input/Sanitized/ExtractTargetPlatformOptions.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Input/Sanitized/ExtractTargetPlatformOptions.cs index 3d45a5c..259d349 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Input/Sanitized/ExtractTargetPlatformOptions.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/Sanitized/ExtractTargetPlatformOptions.cs @@ -2,9 +2,9 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.Collections.Immutable; -using c2json.Data; +using c2ffi.Data; -namespace c2json.Tool.Commands.Extract.Input.Sanitized; +namespace c2ffi.Tool.Commands.Extract.Input.Sanitized; public sealed class ExtractTargetPlatformOptions { diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInput.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInput.cs similarity index 98% rename from src/cs/production/c2json.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInput.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInput.cs index 01d1dbd..9294a31 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInput.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInput.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tool.Commands.Extract.Input.Unsanitized; +namespace c2ffi.Tool.Commands.Extract.Input.Unsanitized; // NOTE: This class is considered un-sanitized input; all strings and other types could be null. [PublicAPI] diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInputTargetPlatform.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInputTargetPlatform.cs similarity index 97% rename from src/cs/production/c2json.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInputTargetPlatform.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInputTargetPlatform.cs index 6cff168..06fa6d5 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInputTargetPlatform.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Input/Unsanitized/UnsanitizedExtractInputTargetPlatform.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tool.Commands.Extract.Input.Unsanitized; +namespace c2ffi.Tool.Commands.Extract.Input.Unsanitized; // NOTE: This class is considered un-sanitized input; all strings and other types could be null. [PublicAPI] diff --git a/src/cs/production/c2json.Tool/Commands/Extract/Startup.cs b/src/cs/production/c2ffi.Tool/Commands/Extract/Startup.cs similarity index 82% rename from src/cs/production/c2json.Tool/Commands/Extract/Startup.cs rename to src/cs/production/c2ffi.Tool/Commands/Extract/Startup.cs index 1b8467d..435069e 100644 --- a/src/cs/production/c2json.Tool/Commands/Extract/Startup.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Extract/Startup.cs @@ -1,15 +1,15 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Tool.Commands.Extract.Domain.Explore; -using c2json.Tool.Commands.Extract.Domain.Explore.NodeExplorers; -using c2json.Tool.Commands.Extract.Domain.Parse; -using c2json.Tool.Commands.Extract.Input; +using c2ffi.Tool.Commands.Extract.Domain.Explore; +using c2ffi.Tool.Commands.Extract.Domain.Explore.NodeExplorers; +using c2ffi.Tool.Commands.Extract.Domain.Parse; +using c2ffi.Tool.Commands.Extract.Input; using JetBrains.Annotations; using Microsoft.Extensions.DependencyInjection; -using ClangInstaller = c2json.Tool.Commands.Extract.Domain.Parse.ClangInstaller; +using ClangInstaller = c2ffi.Tool.Commands.Extract.Domain.Parse.ClangInstaller; -namespace c2json.Tool.Commands.Extract; +namespace c2ffi.Tool.Commands.Extract; [UsedImplicitly] public sealed class Startup : IDependencyInjectionStartup diff --git a/src/cs/production/c2json.Tool/Commands/Merge/MergeFfisCommand.cs b/src/cs/production/c2ffi.Tool/Commands/Merge/MergeFfisCommand.cs similarity index 96% rename from src/cs/production/c2json.Tool/Commands/Merge/MergeFfisCommand.cs rename to src/cs/production/c2ffi.Tool/Commands/Merge/MergeFfisCommand.cs index f49a554..c4923ac 100644 --- a/src/cs/production/c2json.Tool/Commands/Merge/MergeFfisCommand.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Merge/MergeFfisCommand.cs @@ -4,7 +4,7 @@ using System.CommandLine; using JetBrains.Annotations; -namespace c2json.Tool.Commands.Merge; +namespace c2ffi.Tool.Commands.Merge; [UsedImplicitly] public class MergeFfisCommand : Command diff --git a/src/cs/production/c2json.Tool/Commands/Merge/Startup.cs b/src/cs/production/c2ffi.Tool/Commands/Merge/Startup.cs similarity index 92% rename from src/cs/production/c2json.Tool/Commands/Merge/Startup.cs rename to src/cs/production/c2ffi.Tool/Commands/Merge/Startup.cs index e2185d1..c0c04f4 100644 --- a/src/cs/production/c2json.Tool/Commands/Merge/Startup.cs +++ b/src/cs/production/c2ffi.Tool/Commands/Merge/Startup.cs @@ -4,7 +4,7 @@ using JetBrains.Annotations; using Microsoft.Extensions.DependencyInjection; -namespace c2json.Tool.Commands.Merge; +namespace c2ffi.Tool.Commands.Merge; [UsedImplicitly] public sealed class Startup : IDependencyInjectionStartup diff --git a/src/cs/production/c2json.Tool/Generated/Microsoft.Extensions.Logging.Generators/Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator/LoggerMessage.g.cs b/src/cs/production/c2ffi.Tool/Generated/Microsoft.Extensions.Logging.Generators/Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator/LoggerMessage.g.cs similarity index 82% rename from src/cs/production/c2json.Tool/Generated/Microsoft.Extensions.Logging.Generators/Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator/LoggerMessage.g.cs rename to src/cs/production/c2ffi.Tool/Generated/Microsoft.Extensions.Logging.Generators/Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator/LoggerMessage.g.cs index 636e78e..86bd41d 100644 --- a/src/cs/production/c2json.Tool/Generated/Microsoft.Extensions.Logging.Generators/Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator/LoggerMessage.g.cs +++ b/src/cs/production/c2ffi.Tool/Generated/Microsoft.Extensions.Logging.Generators/Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator/LoggerMessage.g.cs @@ -1,7 +1,7 @@ // #nullable enable -namespace c2json.Tool.Commands.Extract.Domain.Explore +namespace c2ffi.Tool.Commands.Extract.Domain.Explore { partial class Explorer { @@ -162,11 +162,11 @@ private partial void LogFoundTypes(global::System.Int32 foundCount, global::Syst } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action __LogEnqueueExploreCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(13, nameof(LogEnqueueExplore)), "- Enqueued {NodeKind} for exploration '{Name}' ({Location})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action __LogEnqueueExploreCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(13, nameof(LogEnqueueExplore)), "- Enqueued {NodeKind} for exploration '{Name}' ({Location})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogEnqueueExplore(global::c2json.Data.CNodeKind nodeKind, global::System.String name, global::c2json.Data.CLocation? location) + private partial void LogEnqueueExplore(global::c2ffi.Data.CNodeKind nodeKind, global::System.String name, global::c2ffi.Data.CLocation? location) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { @@ -174,11 +174,11 @@ private partial void LogEnqueueExplore(global::c2json.Data.CNodeKind nodeKind, g } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action __LogFoundNodeCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(14, nameof(LogFoundNode)), "- Found {NodeKind} '{Name}' ({Location})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action __LogFoundNodeCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(14, nameof(LogFoundNode)), "- Found {NodeKind} '{Name}' ({Location})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogFoundNode(global::c2json.Data.CNodeKind nodeKind, global::System.String name, global::c2json.Data.CLocation? location) + private partial void LogFoundNode(global::c2ffi.Data.CNodeKind nodeKind, global::System.String name, global::c2ffi.Data.CLocation? location) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { @@ -187,7 +187,7 @@ private partial void LogFoundNode(global::c2json.Data.CNodeKind nodeKind, global } } } -namespace c2json.Tool.Commands.Extract.Domain.Explore +namespace c2ffi.Tool.Commands.Extract.Domain.Explore { partial class NodeExplorer { @@ -216,11 +216,11 @@ private partial void LogFailureUnexpectedType(global::bottlenoselabs.clang.CXTyp } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action __LogExploringCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, nameof(LogExploring)), "- Exploring {NodeKind} '{Name}' ({Location})'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action __LogExploringCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, nameof(LogExploring)), "- Exploring {NodeKind} '{Name}' ({Location})'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogExploring(global::c2json.Data.CNodeKind nodeKind, global::System.String name, global::c2json.Data.CLocation? location) + private partial void LogExploring(global::c2ffi.Data.CNodeKind nodeKind, global::System.String name, global::c2ffi.Data.CLocation? location) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { @@ -228,11 +228,11 @@ private partial void LogExploring(global::c2json.Data.CNodeKind nodeKind, global } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action __LogAlreadyExploredCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(3, nameof(LogAlreadyExplored)), "- Already visited {NodeKind} '{Name}' ({Location})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action __LogAlreadyExploredCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(3, nameof(LogAlreadyExplored)), "- Already visited {NodeKind} '{Name}' ({Location})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogAlreadyExplored(global::c2json.Data.CNodeKind nodeKind, global::System.String name, global::c2json.Data.CLocation? location) + private partial void LogAlreadyExplored(global::c2ffi.Data.CNodeKind nodeKind, global::System.String name, global::c2ffi.Data.CLocation? location) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { @@ -240,11 +240,11 @@ private partial void LogAlreadyExplored(global::c2json.Data.CNodeKind nodeKind, } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action __LogExploredCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, nameof(LogExplored)), "- Exploring {NodeKind} '{Name}' ({Location})'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action __LogExploredCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, nameof(LogExplored)), "- Exploring {NodeKind} '{Name}' ({Location})'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogExplored(global::c2json.Data.CNodeKind nodeKind, global::System.String name, global::c2json.Data.CLocation? location) + private partial void LogExplored(global::c2ffi.Data.CNodeKind nodeKind, global::System.String name, global::c2ffi.Data.CLocation? location) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { @@ -252,11 +252,11 @@ private partial void LogExplored(global::c2json.Data.CNodeKind nodeKind, global: } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action __LogExploreSkippedCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, nameof(LogExploreSkipped)), "- Skipped exploring {NodeKind} '{Name}' ({Location})'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action __LogExploreSkippedCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, nameof(LogExploreSkipped)), "- Skipped exploring {NodeKind} '{Name}' ({Location})'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogExploreSkipped(global::c2json.Data.CNodeKind nodeKind, global::System.String name, global::c2json.Data.CLocation? location) + private partial void LogExploreSkipped(global::c2ffi.Data.CNodeKind nodeKind, global::System.String name, global::c2ffi.Data.CLocation? location) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { @@ -265,7 +265,7 @@ private partial void LogExploreSkipped(global::c2json.Data.CNodeKind nodeKind, g } } } -namespace c2json.Tool.Commands.Extract.Domain.Parse +namespace c2ffi.Tool.Commands.Extract.Domain.Parse { partial class ClangInstaller { @@ -307,7 +307,7 @@ private partial void LogAlreadyInstalled(global::System.String filePath) } } } -namespace c2json.Tool.Commands.Extract.Domain.Parse +namespace c2ffi.Tool.Commands.Extract.Domain.Parse { partial class ClangTranslationUnitParser { @@ -349,7 +349,7 @@ private partial void LogFailureWithDiagnostics(global::System.String filePath, g } } } -namespace c2json.Tool.Commands.Extract.Domain.Parse +namespace c2ffi.Tool.Commands.Extract.Domain.Parse { partial class ParseContextBuilderSystemIncludeDirectoriesProvider { @@ -367,16 +367,16 @@ private partial void LogMissingSystemIncludeDirectory(global::System.String dire } } } -namespace c2json.Tool.Commands.Extract +namespace c2ffi.Tool.Commands.Extract { partial class ExtractFfiTool { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action __LogWriteFfiTargetPlatformSuccessCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(0, nameof(LogWriteFfiTargetPlatformSuccess)), "Success. Extracted FFI for the target platform '{TargetPlatform}': {FilePath}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action __LogWriteFfiTargetPlatformSuccessCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(0, nameof(LogWriteFfiTargetPlatformSuccess)), "Success. Extracted FFI for the target platform '{TargetPlatform}': {FilePath}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogWriteFfiTargetPlatformSuccess(global::c2json.Data.TargetPlatform targetPlatform, global::System.String filePath) + private partial void LogWriteFfiTargetPlatformSuccess(global::c2ffi.Data.TargetPlatform targetPlatform, global::System.String filePath) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { @@ -384,11 +384,11 @@ private partial void LogWriteFfiTargetPlatformSuccess(global::c2json.Data.Target } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action __LogWriteFfiTargetPlatformFailureCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(1, nameof(LogWriteFfiTargetPlatformFailure)), "Failed to extract FFI for the target platform '{TargetPlatform}': {FilePath}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action __LogWriteFfiTargetPlatformFailureCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(1, nameof(LogWriteFfiTargetPlatformFailure)), "Failed to extract FFI for the target platform '{TargetPlatform}': {FilePath}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogWriteFfiTargetPlatformFailure(global::System.Exception exception, global::c2json.Data.TargetPlatform targetPlatform, global::System.String filePath) + private partial void LogWriteFfiTargetPlatformFailure(global::System.Exception exception, global::c2ffi.Data.TargetPlatform targetPlatform, global::System.String filePath) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { @@ -396,11 +396,11 @@ private partial void LogWriteFfiTargetPlatformFailure(global::System.Exception e } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private static readonly global::System.Action, global::System.Exception?> __LogSuccessCallback = - global::Microsoft.Extensions.Logging.LoggerMessage.Define>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(2, nameof(LogSuccess)), "Success. Extracted FFIs for the target platforms '{TargetPlatforms}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); + private static readonly global::System.Action, global::System.Exception?> __LogSuccessCallback = + global::Microsoft.Extensions.Logging.LoggerMessage.Define>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(2, nameof(LogSuccess)), "Success. Extracted FFIs for the target platforms '{TargetPlatforms}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "8.0.9.3103")] - private partial void LogSuccess(global::System.Collections.Immutable.ImmutableArray targetPlatforms) + private partial void LogSuccess(global::System.Collections.Immutable.ImmutableArray targetPlatforms) { if (_logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { diff --git a/src/cs/production/c2json.Tool/IDependencyInjectionStartup.cs b/src/cs/production/c2ffi.Tool/IDependencyInjectionStartup.cs similarity index 95% rename from src/cs/production/c2json.Tool/IDependencyInjectionStartup.cs rename to src/cs/production/c2ffi.Tool/IDependencyInjectionStartup.cs index e994d52..b29561c 100644 --- a/src/cs/production/c2json.Tool/IDependencyInjectionStartup.cs +++ b/src/cs/production/c2ffi.Tool/IDependencyInjectionStartup.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.DependencyInjection; -namespace c2json.Tool; +namespace c2ffi.Tool; public interface IDependencyInjectionStartup { diff --git a/src/cs/production/c2json.Tool/Internal/ArrayDeque.cs b/src/cs/production/c2ffi.Tool/Internal/ArrayDeque.cs similarity index 99% rename from src/cs/production/c2json.Tool/Internal/ArrayDeque.cs rename to src/cs/production/c2ffi.Tool/Internal/ArrayDeque.cs index b24eb2d..e3bc287 100644 --- a/src/cs/production/c2json.Tool/Internal/ArrayDeque.cs +++ b/src/cs/production/c2ffi.Tool/Internal/ArrayDeque.cs @@ -5,7 +5,7 @@ using System.Runtime.CompilerServices; using JetBrains.Annotations; -namespace c2json.Tool.Internal; +namespace c2ffi.Tool.Internal; // TODO: Add unit tests. // TODO: Allow for a custom resize function. // TODO: Use a struct enumerator. diff --git a/src/cs/production/c2json.Tool/Internal/Input/InputSanitizationException.cs b/src/cs/production/c2ffi.Tool/Internal/Input/InputSanitizationException.cs similarity index 93% rename from src/cs/production/c2json.Tool/Internal/Input/InputSanitizationException.cs rename to src/cs/production/c2ffi.Tool/Internal/Input/InputSanitizationException.cs index 073b6a5..23ddb8e 100644 --- a/src/cs/production/c2json.Tool/Internal/Input/InputSanitizationException.cs +++ b/src/cs/production/c2ffi.Tool/Internal/Input/InputSanitizationException.cs @@ -1,7 +1,7 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -namespace c2json.Tool.Internal.Input; +namespace c2ffi.Tool.Internal.Input; public sealed class InputSanitizationException : Exception { diff --git a/src/cs/production/c2json.Tool/Internal/Input/InputSanitizer.cs b/src/cs/production/c2ffi.Tool/Internal/Input/InputSanitizer.cs similarity index 98% rename from src/cs/production/c2json.Tool/Internal/Input/InputSanitizer.cs rename to src/cs/production/c2ffi.Tool/Internal/Input/InputSanitizer.cs index cf3454a..df107fe 100644 --- a/src/cs/production/c2json.Tool/Internal/Input/InputSanitizer.cs +++ b/src/cs/production/c2ffi.Tool/Internal/Input/InputSanitizer.cs @@ -5,7 +5,7 @@ using System.IO.Abstractions; using System.Text.Json; -namespace c2json.Tool.Internal.Input; +namespace c2ffi.Tool.Internal.Input; public abstract class InputSanitizer where TUnsanitizedInput : class diff --git a/src/cs/production/c2json.Tool/Program.cs b/src/cs/production/c2ffi.Tool/Program.cs similarity index 95% rename from src/cs/production/c2json.Tool/Program.cs rename to src/cs/production/c2ffi.Tool/Program.cs index e6f48ac..dfe6e32 100644 --- a/src/cs/production/c2json.Tool/Program.cs +++ b/src/cs/production/c2ffi.Tool/Program.cs @@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.Hosting; -namespace c2json.Tool; +namespace c2ffi.Tool; [ExcludeFromCodeCoverage] public static class Program diff --git a/src/cs/production/c2json.Tool/ProjectInfoAttribute.cs b/src/cs/production/c2ffi.Tool/ProjectInfoAttribute.cs similarity index 94% rename from src/cs/production/c2json.Tool/ProjectInfoAttribute.cs rename to src/cs/production/c2ffi.Tool/ProjectInfoAttribute.cs index 0db3a42..415c568 100644 --- a/src/cs/production/c2json.Tool/ProjectInfoAttribute.cs +++ b/src/cs/production/c2ffi.Tool/ProjectInfoAttribute.cs @@ -1,7 +1,7 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -namespace c2json.Tool; +namespace c2ffi.Tool; [AttributeUsage(AttributeTargets.Assembly)] public sealed class ProjectInfoAttribute(string toolDescription) : Attribute diff --git a/src/cs/production/c2json.Tool/Properties/appsettings.json b/src/cs/production/c2ffi.Tool/Properties/appsettings.json similarity index 92% rename from src/cs/production/c2json.Tool/Properties/appsettings.json rename to src/cs/production/c2ffi.Tool/Properties/appsettings.json index 960011e..f85648b 100644 --- a/src/cs/production/c2json.Tool/Properties/appsettings.json +++ b/src/cs/production/c2ffi.Tool/Properties/appsettings.json @@ -3,7 +3,7 @@ "Console": { "LogLevel": { "Default": "Warning", - "c2json": "Debug" + "c2ffi": "Debug" }, "FormatterOptions": { "ColorBehavior": "Enabled", diff --git a/src/cs/production/c2json.Tool/Startup.cs b/src/cs/production/c2ffi.Tool/Startup.cs similarity index 99% rename from src/cs/production/c2json.Tool/Startup.cs rename to src/cs/production/c2ffi.Tool/Startup.cs index f48a2d9..6d10e7b 100644 --- a/src/cs/production/c2json.Tool/Startup.cs +++ b/src/cs/production/c2ffi.Tool/Startup.cs @@ -11,7 +11,7 @@ using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; -namespace c2json.Tool; +namespace c2ffi.Tool; public static class Startup { diff --git a/src/cs/production/c2json.Tool/c2json.Tool.csproj b/src/cs/production/c2ffi.Tool/c2ffi.Tool.csproj similarity index 83% rename from src/cs/production/c2json.Tool/c2json.Tool.csproj rename to src/cs/production/c2ffi.Tool/c2ffi.Tool.csproj index 5db0a54..dffc5da 100644 --- a/src/cs/production/c2json.Tool/c2json.Tool.csproj +++ b/src/cs/production/c2ffi.Tool/c2ffi.Tool.csproj @@ -2,7 +2,7 @@ - c2json.Tool + c2ffi.Tool Exe net8.0 enable @@ -15,19 +15,19 @@ true $(GitRepositoryPath)/nupkg git - https://github.com/bottlenoselabs/c2json - bottlenoselabs.c2json.tool + https://github.com/bottlenoselabs/c2ffi + bottlenoselabs.c2ffi.tool Convert a cross-platform C header `.h` to a FFI (foreign function interface) `.json` file for the purposes of generating bindings of the said C library for other languages. - c2json + c2ffi $(NoWarn);NU5104 MIT - + <_Parameter1>$(PackageDescription) @@ -46,7 +46,7 @@ - + diff --git a/src/cs/tests/c2json.Tests.EndToEnd.Extract/ExtractFfiTest.cs b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/ExtractFfiTest.cs similarity index 97% rename from src/cs/tests/c2json.Tests.EndToEnd.Extract/ExtractFfiTest.cs rename to src/cs/tests/c2ffi.Tests.EndToEnd.Extract/ExtractFfiTest.cs index 6cd8983..9ad5ec5 100644 --- a/src/cs/tests/c2json.Tests.EndToEnd.Extract/ExtractFfiTest.cs +++ b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/ExtractFfiTest.cs @@ -4,17 +4,17 @@ using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.IO.Abstractions; -using c2json.Data; -using c2json.Data.Nodes; -using c2json.Data.Serialization; -using c2json.Tests.Library; -using c2json.Tests.Library.Helpers; -using c2json.Tests.Library.Models; -using c2json.Tool.Commands.Extract; +using c2ffi.Data; +using c2ffi.Data.Nodes; +using c2ffi.Data.Serialization; +using c2ffi.Tests.Library; +using c2ffi.Tests.Library.Helpers; +using c2ffi.Tests.Library.Models; +using c2ffi.Tool.Commands.Extract; using JetBrains.Annotations; using Microsoft.Extensions.DependencyInjection; -namespace c2json.Tests.EndToEnd.Extract; +namespace c2ffi.Tests.EndToEnd.Extract; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_int/Test.cs b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_int/Test.cs similarity index 90% rename from src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_int/Test.cs rename to src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_int/Test.cs index 3f53ce6..bfde7b6 100644 --- a/src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_int/Test.cs +++ b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_int/Test.cs @@ -1,11 +1,11 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Tests.Library.Models; +using c2ffi.Tests.Library.Models; #pragma warning disable CA1707 -namespace c2json.Tests.EndToEnd.Extract.Functions.function_int; +namespace c2ffi.Tests.EndToEnd.Extract.Functions.function_int; public class Test : ExtractFfiTest { diff --git a/src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_int_params_int/Test.cs b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_int_params_int/Test.cs similarity index 90% rename from src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_int_params_int/Test.cs rename to src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_int_params_int/Test.cs index a99f819..1c663cb 100644 --- a/src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_int_params_int/Test.cs +++ b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_int_params_int/Test.cs @@ -1,11 +1,11 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Tests.Library.Models; +using c2ffi.Tests.Library.Models; #pragma warning disable CA1707 -namespace c2json.Tests.EndToEnd.Extract.Functions.function_int_params_int; +namespace c2ffi.Tests.EndToEnd.Extract.Functions.function_int_params_int; public class Test : ExtractFfiTest { diff --git a/src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_uint64_params_uint8_uint16_uint32/Test.cs b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_uint64_params_uint8_uint16_uint32/Test.cs similarity index 91% rename from src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_uint64_params_uint8_uint16_uint32/Test.cs rename to src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_uint64_params_uint8_uint16_uint32/Test.cs index 55f6e23..068f827 100644 --- a/src/cs/tests/c2json.Tests.EndToEnd.Extract/Functions/function_uint64_params_uint8_uint16_uint32/Test.cs +++ b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/Functions/function_uint64_params_uint8_uint16_uint32/Test.cs @@ -1,11 +1,11 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Tests.Library.Models; +using c2ffi.Tests.Library.Models; #pragma warning disable CA1707 -namespace c2json.Tests.EndToEnd.Extract.Functions.function_uint64_params_uint8_uint16_uint32; +namespace c2ffi.Tests.EndToEnd.Extract.Functions.function_uint64_params_uint8_uint16_uint32; public class Test : ExtractFfiTest { diff --git a/src/cs/tests/c2json.Tests.EndToEnd.Extract/GlobalUsings.cs b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/GlobalUsings.cs similarity index 100% rename from src/cs/tests/c2json.Tests.EndToEnd.Extract/GlobalUsings.cs rename to src/cs/tests/c2ffi.Tests.EndToEnd.Extract/GlobalUsings.cs diff --git a/src/cs/tests/c2json.Tests.EndToEnd.Extract/c2json.Tests.EndToEnd.Extract.csproj b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/c2ffi.Tests.EndToEnd.Extract.csproj similarity index 87% rename from src/cs/tests/c2json.Tests.EndToEnd.Extract/c2json.Tests.EndToEnd.Extract.csproj rename to src/cs/tests/c2ffi.Tests.EndToEnd.Extract/c2ffi.Tests.EndToEnd.Extract.csproj index 0270cd1..be28e52 100644 --- a/src/cs/tests/c2json.Tests.EndToEnd.Extract/c2json.Tests.EndToEnd.Extract.csproj +++ b/src/cs/tests/c2ffi.Tests.EndToEnd.Extract/c2ffi.Tests.EndToEnd.Extract.csproj @@ -8,11 +8,12 @@ false true en + c2ffi.Tests.EndToEnd.Extract - + diff --git a/src/cs/tests/c2json.Tests.EndToEnd.Merge/Test.cs b/src/cs/tests/c2ffi.Tests.EndToEnd.Merge/Test.cs similarity index 92% rename from src/cs/tests/c2json.Tests.EndToEnd.Merge/Test.cs rename to src/cs/tests/c2ffi.Tests.EndToEnd.Merge/Test.cs index 67433e9..b64e61c 100644 --- a/src/cs/tests/c2json.Tests.EndToEnd.Merge/Test.cs +++ b/src/cs/tests/c2ffi.Tests.EndToEnd.Merge/Test.cs @@ -2,13 +2,13 @@ // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. using System.IO.Abstractions; -using c2json.Tests.Library; -using c2json.Tests.Library.Helpers; +using c2ffi.Tests.Library; +using c2ffi.Tests.Library.Helpers; using Microsoft.Extensions.DependencyInjection; using Xunit; using Xunit.Abstractions; -namespace c2json.Tests.EndToEnd.Merge; +namespace c2ffi.Tests.EndToEnd.Merge; public class Test { diff --git a/src/cs/tests/c2json.Tests.EndToEnd.Merge/c2json.Tests.EndToEnd.Merge.csproj b/src/cs/tests/c2ffi.Tests.EndToEnd.Merge/c2ffi.Tests.EndToEnd.Merge.csproj similarity index 87% rename from src/cs/tests/c2json.Tests.EndToEnd.Merge/c2json.Tests.EndToEnd.Merge.csproj rename to src/cs/tests/c2ffi.Tests.EndToEnd.Merge/c2ffi.Tests.EndToEnd.Merge.csproj index fcdd2b9..49bb55e 100644 --- a/src/cs/tests/c2json.Tests.EndToEnd.Merge/c2json.Tests.EndToEnd.Merge.csproj +++ b/src/cs/tests/c2ffi.Tests.EndToEnd.Merge/c2ffi.Tests.EndToEnd.Merge.csproj @@ -8,11 +8,12 @@ false true en + c2ffi.Tests.EndToEnd.Merge - + diff --git a/src/cs/tests/c2json.Tests.Library/Helpers/FileSystemHelper.cs b/src/cs/tests/c2ffi.Tests.Library/Helpers/FileSystemHelper.cs similarity index 96% rename from src/cs/tests/c2json.Tests.Library/Helpers/FileSystemHelper.cs rename to src/cs/tests/c2ffi.Tests.Library/Helpers/FileSystemHelper.cs index 46a176d..13bd457 100644 --- a/src/cs/tests/c2json.Tests.Library/Helpers/FileSystemHelper.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Helpers/FileSystemHelper.cs @@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis; using System.IO.Abstractions; -namespace c2json.Tests.Library.Helpers; +namespace c2ffi.Tests.Library.Helpers; [ExcludeFromCodeCoverage] public class FileSystemHelper diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestEnum.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestEnum.cs similarity index 95% rename from src/cs/tests/c2json.Tests.Library/Models/CTestEnum.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestEnum.cs index 484407f..618d4a3 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestEnum.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestEnum.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestEnumValue.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestEnumValue.cs similarity index 94% rename from src/cs/tests/c2json.Tests.Library/Models/CTestEnumValue.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestEnumValue.cs index e64d14a..7ca564e 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestEnumValue.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestEnumValue.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestFfi.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFfi.cs similarity index 99% rename from src/cs/tests/c2json.Tests.Library/Models/CTestFfi.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestFfi.cs index 83365ec..389d3d3 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestFfi.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFfi.cs @@ -6,7 +6,7 @@ using JetBrains.Annotations; using Xunit; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestFunction.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFunction.cs similarity index 96% rename from src/cs/tests/c2json.Tests.Library/Models/CTestFunction.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestFunction.cs index befb71a..6fc8457 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestFunction.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFunction.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestFunctionParameter.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionParameter.cs similarity index 94% rename from src/cs/tests/c2json.Tests.Library/Models/CTestFunctionParameter.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionParameter.cs index d7af840..5e0af07 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestFunctionParameter.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionParameter.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestFunctionPointer.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionPointer.cs similarity index 95% rename from src/cs/tests/c2json.Tests.Library/Models/CTestFunctionPointer.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionPointer.cs index c69c74a..05580c1 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestFunctionPointer.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionPointer.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestFunctionPointerParameter.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionPointerParameter.cs similarity index 94% rename from src/cs/tests/c2json.Tests.Library/Models/CTestFunctionPointerParameter.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionPointerParameter.cs index 324b2b0..187dffd 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestFunctionPointerParameter.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestFunctionPointerParameter.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestMacroObject.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestMacroObject.cs similarity index 94% rename from src/cs/tests/c2json.Tests.Library/Models/CTestMacroObject.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestMacroObject.cs index a372f9b..0c3f987 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestMacroObject.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestMacroObject.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestOpaqueType.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestOpaqueType.cs similarity index 93% rename from src/cs/tests/c2json.Tests.Library/Models/CTestOpaqueType.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestOpaqueType.cs index b9fc797..17e7a93 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestOpaqueType.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestOpaqueType.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestRecord.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestRecord.cs similarity index 96% rename from src/cs/tests/c2json.Tests.Library/Models/CTestRecord.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestRecord.cs index afd6fd5..518d33f 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestRecord.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestRecord.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestRecordField.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestRecordField.cs similarity index 95% rename from src/cs/tests/c2json.Tests.Library/Models/CTestRecordField.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestRecordField.cs index 5a4d86f..eebcf43 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestRecordField.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestRecordField.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/Models/CTestTypeAlias.cs b/src/cs/tests/c2ffi.Tests.Library/Models/CTestTypeAlias.cs similarity index 94% rename from src/cs/tests/c2json.Tests.Library/Models/CTestTypeAlias.cs rename to src/cs/tests/c2ffi.Tests.Library/Models/CTestTypeAlias.cs index 02c5d5f..b4f5a57 100644 --- a/src/cs/tests/c2json.Tests.Library/Models/CTestTypeAlias.cs +++ b/src/cs/tests/c2ffi.Tests.Library/Models/CTestTypeAlias.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using JetBrains.Annotations; -namespace c2json.Tests.Library.Models; +namespace c2ffi.Tests.Library.Models; [PublicAPI] [ExcludeFromCodeCoverage] diff --git a/src/cs/tests/c2json.Tests.Library/TestHost.cs b/src/cs/tests/c2ffi.Tests.Library/TestHost.cs similarity index 91% rename from src/cs/tests/c2json.Tests.Library/TestHost.cs rename to src/cs/tests/c2ffi.Tests.Library/TestHost.cs index 616da7b..1ccd662 100644 --- a/src/cs/tests/c2json.Tests.Library/TestHost.cs +++ b/src/cs/tests/c2ffi.Tests.Library/TestHost.cs @@ -1,12 +1,12 @@ // Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved. // Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information. -using c2json.Tests.Library.Helpers; -using c2json.Tool; +using c2ffi.Tests.Library.Helpers; +using c2ffi.Tool; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace c2json.Tests.Library; +namespace c2ffi.Tests.Library; #pragma warning disable CA1724 public static class TestHost diff --git a/src/cs/tests/c2json.Tests.Library/c2json.Tests.Library.csproj b/src/cs/tests/c2ffi.Tests.Library/c2ffi.Tests.Library.csproj similarity index 82% rename from src/cs/tests/c2json.Tests.Library/c2json.Tests.Library.csproj rename to src/cs/tests/c2ffi.Tests.Library/c2ffi.Tests.Library.csproj index 1d32a63..78c42c9 100644 --- a/src/cs/tests/c2json.Tests.Library/c2json.Tests.Library.csproj +++ b/src/cs/tests/c2ffi.Tests.Library/c2ffi.Tests.Library.csproj @@ -6,7 +6,7 @@ enable enable false - c2json.Tests.Library + c2ffi.Tests.Library en @@ -19,7 +19,7 @@ - +