surging icon indicating copy to clipboard operation
surging copied to clipboard

如果参数类型为数组时,无法动态生成代理?

Open liuhll opened this issue 5 years ago • 1 comments

如果定义一个方法:

Task<ICollection<string>> CreateArrayMethod(string[] inputs);

在调用CompilationUtilitys.Compile方法时,出现如下错误:

(39,73): error CS0234: The type or namespace name 'String[]' does not exist in the namespace 'System' (are you missing an assembly reference?)

liuhll avatar May 06 '19 06:05 liuhll

string[] 这个类型不支持

fanliang11 avatar May 06 '19 07:05 fanliang11