Open cuiliang opened 3 days ago
This code will have problem:
var last = JArray.Parse("[]"); last.Add("aaa");
Error: Oops! No applicable member has been found for the expression. The error occurred for expression "." at position 38 near ".Add(\"aaa\");".
Oops! No applicable member has been found for the expression. The error occurred for expression "." at position 38 near ".Add(\"aaa\");".
Replace var with type name works.
var
JArray last = JArray.Parse("[]"); last.Add("aaa");
Hello @cuiliang ,
Thank you for reporting; we successfully reproduced the issue.
We will look at it.
Best Regards,
Jon
This code will have problem:
Error:
Oops! No applicable member has been found for the expression. The error occurred for expression "." at position 38 near ".Add(\"aaa\");".
Replace
var
with type name works.