I write a code in dnSpy and after running , the dnSpy give me errors.
My code :
ProductInfo pi = new ProductInfo();
pi.name = "Jack";
pi.isactive = true;
pi.license = "123";
Errors :
- pi | Decompiler generated variables can't be evaluated
- Form | Decompiler generated variables can't be evaluated
After clicking Evaluate now button :
- pi | error CS0103: The name 'licenseInfo' does not exist in the current context
- Form | error CS0103: The name 'licenseInfo' does not exist in the current context