Skip to content

Commit

Permalink
C#: hide ReadGenFields from the public API (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser authored Sep 10, 2024
1 parent 0029ca5 commit c8279e1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/bindings-csharp/Codegen/Module.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public override Scope.Extensions ToExtensions()

extensions.Contents.Append(
$$"""
public void ReadGenFields(System.IO.BinaryReader reader) {
void {{iTable}}.ReadGenFields(System.IO.BinaryReader reader) {
{{string.Join(
"\n",
autoIncFields.Select(name =>
Expand Down

2 comments on commit c8279e1

@github-actions
Copy link

@github-actions github-actions bot commented on c8279e1 Sep 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarking failed. Please check the workflow run for details.

@github-actions
Copy link

@github-actions github-actions bot commented on c8279e1 Sep 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarking failed. Please check the workflow run for details.

Please sign in to comment.