Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2012-12-03 21:00:37 +0400
committerMarek Safar <marek.safar@gmail.com>2012-12-03 21:01:25 +0400
commitf75470516c0a9e61dab20b21a4bfcf7d17f88c9c (patch)
treea58733edc6add23e0cabc16bd9619c58f58ec1c4 /mcs/tests/gen-cast-test.cs
parent9f899548c8707bd67ddb9ca4d3fd566801caebfa (diff)
Make Main method public
Diffstat (limited to 'mcs/tests/gen-cast-test.cs')
-rw-r--r--mcs/tests/gen-cast-test.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/tests/gen-cast-test.cs b/mcs/tests/gen-cast-test.cs
index d1f9531d2f1..f8df506b111 100644
--- a/mcs/tests/gen-cast-test.cs
+++ b/mcs/tests/gen-cast-test.cs
@@ -66,7 +66,7 @@ class Stress {
static void generate_main ()
{
- wl ("\tstatic void Main ()\n\t{");
+ wl ("\tpublic static void Main ()\n\t{");
foreach (string t in types){
w ("\t\tprobe_" + t + " ();\n");
@@ -74,7 +74,7 @@ class Stress {
wl ("\t}");
}
- static void Main (string [] args)
+ public static void Main (string [] args)
{
foreach (string arg in args){
if (arg == "-h" || arg == "--help"){