about summary refs log tree commit diff
path: root/Utilities/LibMatrix.JsonSerializerContextGenerator
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/LibMatrix.JsonSerializerContextGenerator')
-rw-r--r--Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs b/Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs
index f33efeb..21c73ef 100644
--- a/Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs
+++ b/Utilities/LibMatrix.JsonSerializerContextGenerator/Program.cs
@@ -7,7 +7,7 @@ using LibMatrix.EventTypes;
 // var asm = Assembly.LoadFrom(binary);
 File.Delete("EventSerializerContexts.g.cs");
 var stream = File.OpenWrite("EventSerializerContexts.g.cs");
-var eventContentTypes = new ClassCollector<EventContent>().ResolveFromAllAccessibleAssemblies();
+var eventContentTypes = ClassCollector<EventContent>.ResolveFromAllAccessibleAssemblies();
 
 stream.WriteString("using System.Text.Json.Serialization;\n");