コード例 #1
0
 internal static bool PostProperty(InvocationTest setup, [_0008._0012(2)] string _0003, CultureInfo state, out DateTimeOffset res2)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     if (setup._0002() > 0)
     {
         int num = setup._0001();
         if (setup[num] == '/')
         {
             if (setup._0002() >= 9 && setup.CalculateReader("/Date(") && setup.GetReader(")/") && ListProperty(setup, out res2))
             {
                 return(true);
             }
         }
         else if (setup._0002() >= 19 && setup._0002() <= 40 && char.IsDigit(setup[num]) && setup[num + 10] == 'T' && DestroyProperty(setup, out res2))
         {
             return(true);
         }
         if (!SetterTest.StartReader(_0003) && SelectProperty(setup.ToString(), _0003, state, out res2))
         {
             return(true);
         }
     }
     res2 = default(DateTimeOffset);
     return(false);
 }
コード例 #2
0
 internal static bool RateProperty(InvocationTest task, PsMaxLengths map, [_0008._0012(2)] string _0004, CultureInfo item2, out DateTime attr3)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     if (task._0002() > 0)
     {
         int num = task._0001();
         if (task[num] == '/')
         {
             if (task._0002() >= 9 && task.CalculateReader("/Date(") && task.GetReader(")/") && GetProperty(task, map, out attr3))
             {
                 return(true);
             }
         }
         else if (task._0002() >= 19 && task._0002() <= 40 && char.IsDigit(task[num]) && task[num + 10] == 'T' && ComputeProperty(task, map, out attr3))
         {
             return(true);
         }
         if (!SetterTest.StartReader(_0004) && StartProperty(task.ToString(), map, _0004, item2, out attr3))
         {
             return(true);
         }
     }
     attr3 = default(DateTime);
     return(false);
 }