diff --git a/crates/codegen/src/csharp.rs b/crates/codegen/src/csharp.rs index 76907815898..ea6d9d2869e 100644 --- a/crates/codegen/src/csharp.rs +++ b/crates/codegen/src/csharp.rs @@ -533,7 +533,7 @@ impl Lang for Csharp<'_> { indented_block(output, |output| { writeln!( output, - "protected override string RemoteTableName => \"{}\";", + "public override string RemoteTableName => \"{}\";", table.name ); writeln!(output); diff --git a/sdks/csharp/src/Table.cs b/sdks/csharp/src/Table.cs index 620d99fffd1..609444815d5 100644 --- a/sdks/csharp/src/Table.cs +++ b/sdks/csharp/src/Table.cs @@ -171,7 +171,7 @@ internal class ParsedTableUpdate : IParsedTableUpdate internal List? EventRows; } - protected abstract string RemoteTableName { get; } + public abstract string RemoteTableName { get; } string IRemoteTableHandle.RemoteTableName => RemoteTableName; ///