Compile error 'CS8078' when a single class has many export properties
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- csharp, javascript
- 领域
- backend
调研方向
首先,复现一个包含大约 800 个导出属性的类的生成过程,并确认编译器错误 CS8078。检查大型 JSClassBuilder 表达式是如何生成的;当生成的输出能够在没有 CS8078 的情况下编译时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When a class has many export properties (~800), generate the expression new JSClassBuilder (...).AddProperty(...). AddProperty(...) ... ... It will be very large, causing compilation error CS8078
- 主要语言
- C#
- 星标
- 785
- 派生
- 80
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/node-api-dotnet 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 88/100
microsoft/node-api-dotnet#484 ·
-
Embedding args occasionally get trailing garbage on .NET (missing null terminator on a pooled buffer)可能已有人在做 @tolmachev-pravo 于 86 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/node-api-dotnet#481 ·
-
难度 3/5 1-2 天 新手友好度 82/100
microsoft/node-api-dotnet#502 ·
-
难度 5/5 一周以上 新手友好度 35/100
microsoft/node-api-dotnet#486 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
microsoft/node-api-dotnet#483 · 1 条评论 · 1 个 reaction ·
查看 microsoft/node-api-dotnet 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
stryker-mutator/stryker-net#3892 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
MobiFlight/MobiFlight-Connector#3419 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 82/100
Kryptos-FR/MarkView.Avalonia#105 ·
维护者通常 1 天内回复
-
[辞書]未关闭提案 辞書
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复