예제 #1
0
파일: Issue696.cs 프로젝트: cbsistem/JSIL
 public static void Main(string[] args)
 {
     try
     {
         Sample s = new Sample();
         s.Action();
         Console.WriteLine("ExtraAccessToAvoidException - Success (not expected)");
     }
     catch (Exception)
     {
         Console.WriteLine("ExtraAccessToAvoidException - Failed (expected)");
     }
 }
예제 #2
0
파일: Issue696.cs 프로젝트: wdstest/SharpJS
 public static void Main(string[] args)
 {
     try
     {
         Sample s = new Sample();
         s.Action();
         Console.WriteLine("ExtraAccessToAvoidException - Success (not expected)");
     }
     catch (Exception)
     {
         Console.WriteLine("ExtraAccessToAvoidException - Failed (expected)");
     }
 }