Skip to content

Commit cd23235

Browse files
committed
making class initializers private
1 parent 0f37b34 commit cd23235

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nuget/Sqlite_net.SourceGenerator/SQLiteFastColumnSetterGenerator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ static void Execute(
377377
foreach (var classInfo in classes) {
378378
var fullTypeName = FullTypeName (classInfo);
379379
var initName = "Init" + fullTypeName.Replace (".", "_");
380-
sb.AppendLine($" public static void {initName}()");
380+
sb.AppendLine($" /// <summary> Init SQLite Fast Column Setters for {fullTypeName}</summary>");
381+
sb.AppendLine($" private static void {initName}()");
381382
sb.AppendLine(" {");
382383
foreach (var property in classInfo.Properties) {
383384
sb.AppendLine($" SQLiteConnection.RegisterFastColumnSetter(");

0 commit comments

Comments
 (0)