a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
368 B
C#
20 lines
368 B
C#
// Compiler options: -res:test-464.cs,TEST,private
|
|
|
|
using System.Reflection;
|
|
using System;
|
|
|
|
class C {
|
|
public static int Main ()
|
|
{
|
|
string [] s = typeof (C).Assembly.GetManifestResourceNames ();
|
|
if (s [0] != "TEST")
|
|
return 1;
|
|
|
|
if (typeof (C).Assembly.GetManifestResourceStream ("TEST") == null)
|
|
return 2;
|
|
|
|
Console.WriteLine ("OK");
|
|
return 0;
|
|
}
|
|
}
|