InjectFix icon indicating copy to clipboard operation
InjectFix copied to clipboard

新加属性问题

Open 842787863 opened this issue 5 years ago • 2 comments

车总请教个问题, 我看说明里是可以新加属性得,但是我 public int TestA { [IFix.Interpret] get; [IFix.Interpret] set; } 或者 [IFix.Interpret]
public int TestA{get;set;} 都是不行的,加载补丁会提示can not load field

842787863 avatar Sep 09 '20 02:09 842787863

这是语法糖,编辑器会新增一个字段(field)。 只支持property,不支持field

chexiongsheng avatar Sep 14 '20 11:09 chexiongsheng

好的谢谢

842787863 avatar Sep 15 '20 11:09 842787863