a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
421 B
C#
21 lines
421 B
C#
// Compiler options: -warnaserror -warn:4
|
|
|
|
using System;
|
|
|
|
public class Test
|
|
{
|
|
[Obsolete]
|
|
static void Method () {}
|
|
|
|
public static void Main ()
|
|
{
|
|
#pragma warning disable 219 , 612
|
|
int i = 0;
|
|
Method ();
|
|
#pragma warning restore 612 // Some comment here
|
|
#pragma warning disable // Some comment here
|
|
Method ();
|
|
#pragma warning restore
|
|
}
|
|
}
|