mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
14 lines
311 B
C#
14 lines
311 B
C#
// cs0619.cs: `Obsolete.MethodError()' is obsolete: `Do not use it.'
|
|
// Line: 12
|
|
|
|
class Obsolete {
|
|
[System.Obsolete("Do not use it.", true)]
|
|
public static void MethodError() {
|
|
}
|
|
}
|
|
|
|
class MainClass {
|
|
public static void Main () {
|
|
Obsolete.MethodError();
|
|
}
|
|
} |