diff --git a/crates/cli/src/subcommands/generate/csharp.rs b/crates/cli/src/subcommands/generate/csharp.rs index a5f890250ad..caefb16d586 100644 --- a/crates/cli/src/subcommands/generate/csharp.rs +++ b/crates/cli/src/subcommands/generate/csharp.rs @@ -648,7 +648,7 @@ pub fn autogen_csharp_globals(ctx: &GenCtx, items: &[GenItem], namespace: &str) indented_block(&mut output, |output| { writeln!( output, - "internal RemoteReducers(DbConnection conn) : base(conn) {{ this.SetCallReducerFlags = SetReducerFlags; }}" + "internal RemoteReducers(DbConnection conn, SetReducerFlags SetReducerFlags) : base(conn) {{ this.SetCallReducerFlags = SetReducerFlags; }}" ); writeln!(output, "internal readonly SetReducerFlags SetCallReducerFlags;");