blob: 3b9a3b0917341ae7b8020f318dac36f0203c53de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS1644: Feature `exception filter' cannot be used because it is not part of the C# 5.0 language specification
// Line: 14
// Compiler options: -langversion:5
using System;
class X
{
public static void Main ()
{
int x = 4;
try {
throw null;
} catch (Exception) when (x > 0) {
}
}
}
|