fork download
  1. // avast is happy:
  2. MessageBox.Show("Test", "Caption", MessageBoxButtons.OKCancel);
  3.  
  4. // when storign the message result,
  5. // avast reports: Win32:Evo-gen [Susp] and deletes my executable on compiling... WTF
  6. var result = MessageBox.Show("Test", "Caption", MessageBoxButtons.OKCancel);
  7.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(2,0): error CS1525: Unexpected symbol `MessageBox'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty