a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
314 B
C#
18 lines
314 B
C#
// CS0619: `ObsoleteException' is obsolete: `'
|
|
// Line: 15
|
|
|
|
using System;
|
|
|
|
[System.Obsolete("", true)]
|
|
class ObsoleteException: Exception {
|
|
}
|
|
|
|
class MainClass {
|
|
public void Method ()
|
|
{
|
|
try {
|
|
}
|
|
catch (ObsoleteException) {
|
|
}
|
|
}
|
|
} |