Mark notifypropertychanged with nullable

This commit is contained in:
2025-06-29 12:25:13 +02:00
parent c63fd45e38
commit 18cd59d414
2 changed files with 2 additions and 2 deletions
@@ -150,7 +150,7 @@ public class NotifyPropertyChangedGenerator : IIncrementalGenerator
}
}
var fileSource = generatedSyntax.ToFullString();
var fileSource = $"#nullable enable\n{generatedSyntax.ToFullString()}\n#nullable disable";
sourceProductionContext.AddSource($"{className}.g", fileSource);
}
}