Beispiel #1
0
 public Class164(Class163.Enum19 enum19_1, object object_1)
 {
     this.enum19_0 = enum19_1;
     this.object_0 = object_1;
 }
Beispiel #2
0
 public static Interface6 smethod_0(Enum25 enum25_0, GenericAudioStream audioStream)
 {
     switch (enum25_0)
     {
     case Enum25.const_1:
         return new Class163(audioStream);
     case Enum25.const_2:
         return new Class155(audioStream);
     case Enum25.const_3:
         return new Class163(audioStream);
     case Enum25.const_5:
         return new Class163(audioStream);
     }
     bool flag = Type.GetType("Mono.Runtime") != null;
     int platform = (int)Environment.OSVersion.Platform;
     switch (platform)
     {
     case 0:
     case 1:
     case 2:
     case 3:
     {
         Interface6 result;
         try
         {
             result = new Class163(audioStream);
         }
         catch
         {
             result = new Class109(audioStream);
         }
         return result;
     }
     case 4:
     case 6:
         goto IL_F4;
     case 5:
         break;
     default:
         if (platform == 128)
         {
             goto IL_F4;
         }
         break;
     }
     throw new PlatformNotSupportedException(string.Concat(new object[]
     {
         flag ? "" : "Not ",
         "Running Mono. PlatformID: ",
         (int)Environment.OSVersion.Platform,
         " | ",
         Environment.OSVersion.Platform
     }));
     IL_F4:
     return new Class117(audioStream);
 }