Skip to content

Commit f2c6cc3

Browse files
committed
style(program): add UsedImplicitly attribute
Add JetBrains.Annotations and mark the partial Program class with [UsedImplicitly] to suppress static-analysis/IDE false positives for the runtime-used entry point.
1 parent 2a050f8 commit f2c6cc3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Elsa.Catalog.Api/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
using Elsa.Catalog.Packaging.NuGet;
1717
using Elsa.Catalog.Persistence.EntityFrameworkCore;
1818
using Elsa.PackageManifests.Validation;
19+
using JetBrains.Annotations;
1920
using Microsoft.AspNetCore.Authentication;
2021
using Microsoft.EntityFrameworkCore;
2122

@@ -83,4 +84,5 @@
8384

8485
app.Run();
8586

87+
[UsedImplicitly]
8688
public partial class Program;

0 commit comments

Comments
 (0)