Example #1
0
 public override void GuardTypeSafety()
 {
     if (Nested == null || Nested.ReturnType == null)
     {
         return;
     }
     if (Nested.ReturnType != typeof(bool))
     {
         throw ConvertException.StaticTypeSafety(typeof(bool), Nested.ReturnType, Nested.ToString());
     }
     Nested.GuardTypeSafety();
 }
Example #2
0
 public override void GuardTypeSafety()
 {
     Nested?.GuardTypeSafety();
 }