3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
17 lines
246 B
C#
17 lines
246 B
C#
// CS7095: Exception filter expression is a constant
|
|
// Line: 12
|
|
// Compiler options: -warnaserror
|
|
|
|
using System;
|
|
|
|
class X
|
|
{
|
|
public static int Main ()
|
|
{
|
|
try {
|
|
throw new ApplicationException ();
|
|
} catch when (true) {
|
|
return 0;
|
|
}
|
|
}
|
|
} |