[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0162-4.cs
blob547c22f365ee982c422570d89e7779e4de454851
1 // CS0162: Unreachable code detected
2 // Line: 13
3 // Compiler options: -warnaserror -warn:2
5 using System;
7 class C {
8 bool T () { return true; }
10 void Close()
12 if (T () && false)
13 Console.WriteLine ("error");
17 class XXXX { static void Main () {} }