We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Noticed this on the last two beta releases.
When using the += operator on a property of a .Net class, a NullReferenceException is thrown.
A brief snippet to demonstrate the issue:
class Person { public string FirstName = "a"; } class Program { static void Main(string[] args) { Person p = new Person(); Engine engine = new Engine(); engine.SetValue("P", p); // Working Engine e1 = engine.Execute("P.FirstName = 'b'; "); Console.WriteLine(p.FirstName); // NullReferenceException Engine e2 = engine.Execute("P.FirstName += 'c'; "); // += Operator fails Console.WriteLine(p.FirstName); Console.ReadKey(); } }
The text was updated successfully, but these errors were encountered:
fixes sebastienros#537 interop with ConcatenatedString can throw exce…
ac21d66
…ption
Thanks for reporting this, fixed via #630 .
Sorry, something went wrong.
No branches or pull requests
Noticed this on the last two beta releases.
When using the += operator on a property of a .Net class, a NullReferenceException is thrown.
A brief snippet to demonstrate the issue:
The text was updated successfully, but these errors were encountered: