0

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 :

  1. pi | Decompiler generated variables can't be evaluated
  2. Form | Decompiler generated variables can't be evaluated

After clicking Evaluate now button :

  1. pi | error CS0103: The name 'licenseInfo' does not exist in the current context
  2. Form | error CS0103: The name 'licenseInfo' does not exist in the current context

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.