【发布时间】:2018-11-08 04:18:44
【问题描述】:
C# 新手,我在 MacOS 上安装了 Rider,并在解决方案中安装了 Google.Protobuf 和 protobuf-net。我在link 上找到了 C# protobuf 的示例,并将文件添加到解决方案中。但是,当我编译 .cs 文件时,我得到了这些错误。
Addressbook.cs(263, 57): [CS1615] 参数 1 不能使用 'ref' 关键字传递
Addressbook.cs(445, 61): [CS1615] 参数 1 不能使用 'ref' 关键字传递
Addressbook.cs(580, 57): [CS1615] 参数 1 不能使用 'ref' 关键字传递
那么如何解决这些问题呢?
【问题讨论】:
标签: c# rider protocol-buffers