27 lines
360 B
C#
27 lines
360 B
C#
|
#if false
|
||
|
#line hahaha
|
||
|
#error
|
||
|
#define X
|
||
|
#undef X
|
||
|
#pragma warning disable 3005 // wrong directive on csc 1.x
|
||
|
public class Foo
|
||
|
{
|
||
|
}
|
||
|
#pragma warning restore // wrong directive on csc 1.x
|
||
|
|
||
|
#region // blank -> no error
|
||
|
#endregion
|
||
|
|
||
|
#endif // of funky directives
|
||
|
|
||
|
public class Test
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{
|
||
|
string s = @"Test string
|
||
|
#define
|
||
|
";
|
||
|
}
|
||
|
}
|
||
|
|