diff --git a/package.json b/package.json index 0bcd93d..7dac7e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/jrpcgen", - "version": "1.0.26", + "version": "1.0.27", "main": "lib/index.js", "license": "MIT", "packageManager": "yarn@3.1.1", diff --git a/src/targets/csharp.ts b/src/targets/csharp.ts index 2699120..ce8d099 100644 --- a/src/targets/csharp.ts +++ b/src/targets/csharp.ts @@ -129,6 +129,7 @@ export class CSharpTarget extends CompileTarget<{ csharp_namespace: string }> { a(0, `using System.Text.Json.Serialization;`); a(0, `using System.Text.Json.Nodes;`); a(0, `using System.Threading.Tasks;`); + a(0, `using System.Collections.Generic;`); a(0, ``); a(0, `namespace ${this.namespace};`); a(0, ``); @@ -215,6 +216,7 @@ export class CSharpTarget extends CompileTarget<{ csharp_namespace: string }> { a(0, `using System.Text.Json.Serialization;`); a(0, `using System.Text.Json.Nodes;`); a(0, `using System.Threading.Tasks;`); + a(0, `using System.Collections.Generic;`); a(0, ``); a(0, `namespace ${this.namespace};`); a(0, ``);