3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
18 lines
300 B
C#
18 lines
300 B
C#
// 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) {
|
|
}
|
|
}
|
|
}
|