Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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
}
}