diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:33:14 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:33:14 +0100 |
commit | 163e2a94f600ffe0f982e3f605264ff2f2fe312b (patch) | |
tree | af8fb4c8c468dde726a4773b1304aa22c59186ac /Utilities/LibMatrix.JsonSerializerContextGenerator | |
parent | Apply syntax style to LibMatrix (diff) | |
download | LibMatrix-163e2a94f600ffe0f982e3f605264ff2f2fe312b.tar.xz |
Apply syntax style to LibMatrix side projects
Diffstat (limited to 'Utilities/LibMatrix.JsonSerializerContextGenerator')
-rw-r--r-- | Utilities/LibMatrix.JsonSerializerContextGenerator/LibMatrix.JsonSerializerContextGenerator.csproj | 4 | ||||
-rw-r--r-- | Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/LibMatrix.JsonSerializerContextGenerator/LibMatrix.JsonSerializerContextGenerator.csproj b/Utilities/LibMatrix.JsonSerializerContextGenerator/LibMatrix.JsonSerializerContextGenerator.csproj index b90bf20..35cb9f8 100644 --- a/Utilities/LibMatrix.JsonSerializerContextGenerator/LibMatrix.JsonSerializerContextGenerator.csproj +++ b/Utilities/LibMatrix.JsonSerializerContextGenerator/LibMatrix.JsonSerializerContextGenerator.csproj @@ -8,8 +8,8 @@ </PropertyGroup> <ItemGroup> - <ProjectReference Include="..\..\ArcaneLibs\ArcaneLibs\ArcaneLibs.csproj" /> - <ProjectReference Include="..\..\LibMatrix\LibMatrix.csproj" /> + <ProjectReference Include="..\..\ArcaneLibs\ArcaneLibs\ArcaneLibs.csproj"/> + <ProjectReference Include="..\..\LibMatrix\LibMatrix.csproj"/> </ItemGroup> </Project> diff --git a/Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs b/Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs index 0c0277b..f33efeb 100644 --- a/Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs +++ b/Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs @@ -23,7 +23,7 @@ stream.WriteString("\n\nnamespace LibMatrix.Generated;\n\n[JsonSourceGenerationO // // """))); -stream.WriteString(string.Join('\n', eventContentTypes//.DistinctBy(x => x.Namespace) +stream.WriteString(string.Join('\n', eventContentTypes //.DistinctBy(x => x.Namespace) .Select(x => $"[JsonSerializable(typeof({x.Name}))]"))); stream.WriteString("\ninternal partial class EventTypeSerializerContext : JsonSerializerContext { }"); |