a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
281 B
C#
19 lines
281 B
C#
// CS0619-34: `Error' is obsolete: `Obsolete struct'
|
|
// Line: 17
|
|
|
|
using System;
|
|
|
|
[Obsolete ("Obsolete struct", true)]
|
|
struct Error
|
|
{
|
|
public static void Report (bool arg)
|
|
{
|
|
}
|
|
}
|
|
|
|
class MainClass {
|
|
public static void Main ()
|
|
{
|
|
Error.Report (false);
|
|
}
|
|
} |