Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0162.cs
1 // CS0162: Unreachable code detected
2 // Line: 12
3 // Compiler options: -warnaserror -warn:2
4
5 using System;
6
7 class E
8 {
9    public void Method (int i)
10    {
11        throw new ArgumentNullException ();
12        Console.WriteLine ("Once upon a time..");
13    }
14 }