Commit 7f00e1f
authored
C# auto-generated header for generated c# codec files (#814)
* Added "auto-generated" tag which is recognized by Visual Studio at the top of each generated C# file.
Auto-generated files are not included in automatic code-cleanup and/or inspection processes.
* Renamed all generated *.cs files to *.g.cs
Like the auto-generated tag in the file's header, this causes files to be recognized as auto-generated code by Visual Studio.
An added bonus of the filename change is that these files can be treated differently based on the filename in your project's .gitignore or .editorconfig files1 parent 9239dbf commit 7f00e1f
File tree
2 files changed
+4
-2
lines changed- sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/csharp
2 files changed
+4
-2
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
618 | 620 | | |
619 | 621 | | |
620 | 622 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
0 commit comments